Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

In php, how to convert string value into an int

<?php
$string = "56";
$int = intval( $string );
echo $int;
?>
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #In #convert #string #int
ADD COMMENT
Topic
Name
4+1 =