3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('precision', 30); $time = $_SERVER['REQUEST_TIME_FLOAT']; var_dump(ini_get('precision')); var_dump($time); $time_string = addslashes($time); var_dump($time_string); $recast_time = (float) $time_string; var_dump($recast_time); var_dump($time === $recast_time);
Output for git.master, git.master_jit, rfc.property-hooks
string(2) "30" float(1574679480.0001) string(31) "1574679480.00009989738464355469" float(1574679480.0001) bool(true)

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:
35.8 ms | 401 KiB | 8 Q