3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(NAN, NAN < NAN, NAN > NAN, NAN > 0.0, NAN < 0.0, NAN == NAN /* the only comparison that seems correct */); echo "\n----\n\n"; var_dump(INF, INF < INF, INF > INF, INF == INF); ?/php>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.280.0100.04712.38
5.4.270.0100.05812.38
5.4.260.0100.06712.38
5.4.250.0100.07212.38
5.4.240.0130.06112.38
5.4.230.0090.04712.37
5.4.220.0080.04612.37
5.4.210.0080.04512.37
5.4.200.0120.05412.37
5.4.190.0110.05912.37
5.4.180.0100.06012.37
5.4.170.0100.06312.37
5.4.160.0100.05912.37
5.4.150.0130.05212.37
5.4.140.0090.05612.06
5.4.130.0120.05412.04
5.4.120.0090.05212.01
5.4.110.0070.05312.00
5.4.100.0180.06312.00
5.4.90.0090.05112.00
5.4.80.0120.04912.00
5.4.70.0090.04911.99
5.4.60.0140.06511.99
5.4.50.0100.05012.00
5.4.40.0140.04811.98
5.4.30.0090.05111.97
5.4.20.0100.05411.97
5.4.10.0140.05511.98
5.4.00.0090.06111.47
5.3.280.0100.05812.71
5.3.270.0130.06212.72
5.3.260.0080.06012.72
5.3.250.0090.07312.72
5.3.240.0100.05612.72
5.3.230.0110.05812.71
5.3.220.0100.05512.68
5.3.210.0100.05812.68
5.3.200.0140.07812.68
5.3.190.0120.06812.68
5.3.180.0140.05012.67
5.3.170.0080.05212.67
5.3.160.0090.05712.67
5.3.150.0100.04912.68
5.3.140.0100.06012.66
5.3.130.0180.05012.66
5.3.120.0910.07912.66
5.3.110.0150.06012.66
5.3.100.0100.06712.12
5.3.90.0120.06012.08
5.3.80.0070.04312.08
5.3.70.0080.04112.07
5.3.60.0060.04112.07
5.3.50.0090.03712.00
5.3.40.0060.04112.00
5.3.30.0070.04211.95
5.3.20.0100.04311.73
5.3.10.0140.05011.70
5.3.00.0080.08411.68

preferences:
139.24 ms | 1394 KiB | 7 Q