Write a PHP script to set type of variable using type casting || DWPD Sem 5 Practical 11 on March 23, 2018 Get link Facebook X Pinterest Email Other Apps DWPD : Practical 11 index.php file Code<?php $a=10; echo "variable a is --> ".gettype($a)."<br>"; $b=(string)$a; echo "variable b is --> ".gettype($b); ?> Output : Comments
Comments
Post a Comment