3v4l.org

run code in 300+ PHP versions simultaneously
<?php // auszug aus dem ModelValidationService->validateAndCorrectSubtype $f = 59.44; $i = (int)$f; $d = (($f - $i) * pow(10, 4)); echo "Ist".PHP_EOL; var_dump($d); var_dump((int)$d); echo PHP_EOL."Soll".PHP_EOL; var_dump((string)$d); var_dump((int)(string)$d);
Output for git.master, git.master_jit, rfc.property-hooks
Ist float(4399.999999999977) int(4399) Soll string(4) "4400" int(4400)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.43 ms | 401 KiB | 8 Q