3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function test ($a, $b) { var_dump($a, $b); } $x = "12"; $y = 24; test((int)$x, (string)$y);
Output for 4.3.0 - 7.1.0
int(12) string(2) "24"