Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

type casting in php

$x = 2.5;
$y = (int) $x; // cast $x to integer
 
PREVIOUS NEXT
Tagged: #type #casting #php
ADD COMMENT
Topic
Name
7+9 =