Result Size: 625 x 571
x
 
<!DOCTYPE html>
<html>
<body>
<?php
$a = "32"; // string 
settype($a, "integer"); // $a is now integer
$b = 32; // integer 
settype($b, "string"); // $b is now string
$c = true; // boolean 
settype($c, "integer"); // $c is now integer (1)
?>
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_var_settype by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:51:08 GMT -->
</html>
×

Report a Problem: