3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v = array(1.0, 0.0000000001, 1e300, 1e-100, 1/3, 1-1/3, 8/9, 1-8/9, 1.235469999932135465487e-56); array_walk($v, function($i) { echo $i . "\n" . "$i" . "\n" . ((string) $i) . "\n" . json_encode($i) . "\n" . var_export($i, TRUE) . "\n" . sprintf('%f', $i) . "\n" . "\n"; });
Output for git.master, git.master_jit, rfc.property-hooks
1 1 1 1 1.0 1.000000 1.0E-10 1.0E-10 1.0E-10 1.0e-10 1.0E-10 0.000000 1.0E+300 1.0E+300 1.0E+300 1.0e+300 1.0E+300 1000000000000000052504760255204420248704468581108159154915854115511802457988908195786371375080447864043704443832883878176942523235360430575644792184786706982848387200926575803737830233794788090059368953234970799945081119038967640880074652742780142494579258788820056842838115669472196386865459400540160.000000 1.0E-100 1.0E-100 1.0E-100 1.0e-100 1.0E-100 0.000000 0.33333333333333 0.33333333333333 0.33333333333333 0.3333333333333333 0.3333333333333333 0.333333 0.66666666666667 0.66666666666667 0.66666666666667 0.6666666666666667 0.6666666666666667 0.666667 0.88888888888889 0.88888888888889 0.88888888888889 0.8888888888888888 0.8888888888888888 0.888889 0.11111111111111 0.11111111111111 0.11111111111111 0.11111111111111116 0.11111111111111116 0.111111 1.2354699999321E-56 1.2354699999321E-56 1.2354699999321E-56 1.2354699999321356e-56 1.2354699999321356E-56 0.000000

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:
47.4 ms | 403 KiB | 8 Q