3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ''; if( true = $a) { echo 'true'; } else { echo 'false'; }

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.270.0130.05318.66
5.4.260.0100.05718.75
5.4.250.0000.06018.96
5.4.240.0100.05718.94
5.4.230.0000.08318.95
5.4.220.0030.06018.83
5.4.210.0100.07318.99
5.4.200.0200.04318.99
5.4.190.0130.07018.95
5.4.180.0200.03718.90
5.4.170.0100.07318.67
5.4.160.0170.06018.98
5.4.150.0030.08718.95
5.4.140.0100.05016.30
5.4.130.0100.05716.39
5.4.120.0070.07316.52
5.4.110.0170.05316.51
5.4.100.0130.04316.48
5.4.90.0070.05316.38
5.4.80.0030.06016.50
5.4.70.0130.06016.51
5.4.60.0070.05716.32
5.4.50.0130.06716.44
5.4.40.0030.07716.55
5.4.30.0100.06016.38
5.4.20.0070.07016.54
5.4.10.0130.04716.43
5.4.00.0170.05715.99
5.3.280.0070.06014.60
5.3.270.0170.05314.76
5.3.260.0170.06314.65
5.3.250.0130.07314.61
5.3.240.0100.04714.61
5.3.230.0100.06714.64
5.3.220.0100.07314.27
5.3.210.0070.05314.59
5.3.200.0200.05714.72
5.3.190.0100.05314.58
5.3.180.0070.05714.43
5.3.170.0100.04714.58
5.3.160.0130.05314.60
5.3.150.0070.05714.54
5.3.140.0100.07714.43
5.3.130.0100.04714.47
5.3.120.0130.06014.42
5.3.110.0070.05714.25
5.3.100.0130.06314.09
5.3.90.0130.06314.06
5.3.80.0070.04713.91
5.3.70.0270.05313.88
5.3.60.0130.05314.02
5.3.50.0170.04713.80
5.3.40.0130.04713.73
5.3.30.0070.05313.91
5.3.20.0070.05313.39
5.3.10.0100.06313.49
5.3.00.0130.06013.69
5.2.170.0070.04011.11
5.2.160.0070.04011.07
5.2.150.0070.04010.90
5.2.140.0100.04311.15
5.2.130.0130.05011.03
5.2.120.0070.04311.10
5.2.110.0200.03011.11
5.2.100.0130.04711.00
5.2.90.0100.03711.11
5.2.80.0130.03711.09
5.2.70.0070.04011.24
5.2.60.0130.04710.95
5.2.50.0070.04311.04
5.2.40.0000.04711.09
5.2.30.0100.04310.88
5.2.20.0170.03711.06
5.2.10.0030.04710.94
5.2.00.0030.04310.87
5.1.60.0100.0309.92
5.1.50.0070.03710.09
5.1.40.0000.0409.74
5.1.30.0000.04010.43
5.1.20.0100.04710.51
5.1.10.0030.0479.95
5.1.00.0070.0509.97
5.0.50.0030.0408.63
5.0.40.0000.0308.43
5.0.30.0130.0438.07
5.0.20.0130.0208.24
5.0.10.0100.0238.27
5.0.00.0070.0408.12
4.4.90.0000.0235.91
4.4.80.0030.0305.77
4.4.70.0070.0175.75
4.4.60.0030.0305.78
4.4.50.0070.0275.70
4.4.40.0000.0335.90
4.4.30.0030.0235.78
4.4.20.0000.0275.89
4.4.10.0000.0235.87
4.4.00.0070.0405.80
4.3.110.0070.0205.71
4.3.100.0030.0235.70
4.3.90.0030.0305.70
4.3.80.0030.0335.70
4.3.70.0070.0205.70
4.3.60.0000.0275.70
4.3.50.0100.0205.70
4.3.40.0000.0375.77
4.3.30.0070.0235.70
4.3.20.0000.0275.70
4.3.10.0030.0205.70
4.3.00.0000.0235.93

preferences:
143.86 ms | 1394 KiB | 7 Q