3v4l.org

run code in 300+ PHP versions simultaneously
<?php '1' == 'change' ? echo 'true' : 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.6.70.0070.07720.52
5.4.390.1330.07718.76
5.4.380.0130.08318.55
5.4.370.0170.07718.74
5.4.360.0200.06318.52
5.4.350.0230.05018.86
5.4.340.0200.05318.84
5.4.320.1070.05018.59
5.4.310.0200.06018.77
5.4.300.0200.05318.69
5.4.290.0270.04718.69
5.4.280.0600.05718.75
5.4.270.0230.06718.73
5.4.260.0070.06318.76
5.4.250.0170.05318.78
5.4.240.0200.05318.60
5.4.230.0200.05318.53
5.4.220.0400.06318.77
5.4.210.0170.08018.52
5.4.200.0200.05316.71
5.4.190.0200.05318.57
5.4.180.0170.07018.79
5.4.170.0270.05318.51
5.4.160.1030.06718.74
5.4.150.0270.05718.44
5.4.140.0130.06016.33
5.4.130.0170.05716.32
5.4.120.0030.07316.43
5.4.110.0130.05316.44
5.4.100.0200.06716.41
5.4.90.0170.07316.30
5.4.80.0170.05316.17
5.4.70.0370.06716.39
5.4.60.0200.06016.21
5.4.50.0200.05316.25
5.4.40.0130.07316.11
5.4.30.0270.05316.25
5.4.20.0100.06016.21
5.4.10.0130.05716.21
5.4.00.0300.05015.67
5.3.290.0200.08314.70
5.3.280.0200.07714.60
5.3.270.0130.06714.58
5.3.260.0070.06714.64
5.3.250.0130.05714.55
5.3.240.0230.05714.61
5.3.230.0130.05714.67
5.3.220.0100.06314.66
5.3.210.0170.06014.53
5.3.200.0070.06014.56
5.3.190.0170.05314.55
5.3.180.0200.05014.64
5.3.170.0070.06014.57
5.3.160.0170.05014.65
5.3.150.0100.06314.48
5.3.140.0170.05014.66
5.3.130.0200.04714.57
5.3.120.0070.06714.52
5.3.110.0070.06314.53
5.3.100.0200.05314.14
5.3.90.0130.06014.07
5.3.80.0200.05014.10
5.3.70.0100.05314.00
5.3.60.1000.04013.97
5.3.50.0200.04713.88
5.3.40.0170.06013.86
5.3.30.0170.06713.89
5.3.20.0100.06013.59
5.3.10.0200.05313.57
5.3.00.0830.06713.63
5.2.170.0100.04711.12
5.2.160.1200.04711.20
5.2.150.0130.05011.18
5.2.140.0170.04311.19
5.2.130.0130.04011.06
5.2.120.0030.05011.13
5.2.110.0130.04711.14
5.2.100.0170.03711.03
5.2.90.0170.03711.11
5.2.80.0170.03711.05
5.2.70.0130.04711.06
5.2.60.1470.05311.08
5.2.50.0800.04711.04
5.2.40.0170.03711.02
5.2.30.0100.04310.93
5.2.20.0070.05011.11
5.2.10.0070.04310.90
5.2.00.0070.04710.76
5.1.60.0070.04010.04
5.1.50.0200.03010.12
5.1.40.0100.0339.95
5.1.30.0130.03710.37
5.1.20.0070.04010.37
5.1.10.0170.03710.19
5.1.00.0100.03710.11
5.0.50.0130.0238.69
5.0.40.0030.0338.47
5.0.30.0030.0508.19
5.0.20.0030.0338.29
5.0.10.0070.0378.16
5.0.00.0070.0538.19
4.4.90.0030.0275.89
4.4.80.0000.0275.87
4.4.70.0130.0135.91
4.4.60.0100.0205.86
4.4.50.0030.0275.91
4.4.40.0030.0405.85
4.4.30.0070.0235.92
4.4.20.0000.0305.88
4.4.10.0130.0175.91
4.4.00.0070.0335.86
4.3.110.0000.0275.77
4.3.100.0070.0205.78
4.3.90.0030.0235.84
4.3.80.0070.0335.81
4.3.70.0070.0305.78
4.3.60.0100.0275.87
4.3.50.0030.0305.78
4.3.40.0170.0335.76
4.3.30.0070.0234.58
4.3.20.0000.0274.61
4.3.10.0000.0274.56
4.3.00.0000.0276.97

preferences:
144.61 ms | 1394 KiB | 7 Q