3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '' ?:'foo';

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)
8.3.70.0090.01216.34
8.3.60.0150.00018.34
8.3.50.0150.00717.25
8.3.40.0160.00018.80
8.3.30.0100.00318.59
8.3.20.0040.00420.21
8.3.10.0060.00321.77
8.3.00.0040.00419.38
8.2.190.0100.00716.63
8.2.180.0070.00718.16
8.2.170.0070.01122.96
8.2.160.0030.01020.32
8.2.150.0000.00724.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0100.00017.50
8.2.110.0060.00321.02
8.2.100.0160.00017.84
8.2.90.0040.00419.09
8.2.80.0000.00819.30
8.2.70.0060.00317.38
8.2.60.0080.00017.91
8.2.50.0000.00718.10
8.2.40.0040.00420.48
8.2.30.0040.00419.22
8.2.20.0040.00418.04
8.2.10.0040.00417.97
8.2.00.0030.00318.11
8.1.280.0040.01125.92
8.1.270.0000.00820.30
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0040.00422.73
8.1.230.0110.00017.70
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0000.00918.52
8.1.160.0000.00718.80
8.1.150.0080.00018.80
8.1.140.0000.00817.48
8.1.130.0000.00718.81
8.1.120.0000.00717.21
8.1.110.0070.00017.31
8.1.100.0000.00717.19
8.1.90.0040.00417.30
8.1.80.0030.00617.25
8.1.70.0000.00717.24
8.1.60.0050.00217.48
8.1.50.0040.00417.26
8.1.40.0050.00217.34
8.1.30.0000.00717.54
8.1.20.0050.00317.50
8.1.10.0040.00417.29
8.1.00.0040.00417.36
8.0.300.0000.00818.77
8.0.290.0060.00316.75
8.0.280.0000.00618.36
8.0.270.0030.00317.16
8.0.260.0000.00818.46
8.0.250.0070.00016.95
8.0.240.0000.00716.83
8.0.230.0070.00016.93
8.0.220.0030.00316.84
8.0.210.0030.00316.87
8.0.200.0030.00316.75
8.0.190.0000.00816.75
8.0.180.0030.00316.84
8.0.170.0040.00416.89
8.0.160.0050.00316.89
8.0.150.0000.01016.66
8.0.140.0050.00316.79
8.0.130.0040.00413.27
8.0.120.0000.00716.73
8.0.110.0040.00416.74
8.0.100.0040.00416.75
8.0.90.0000.00816.86
8.0.80.0080.00816.76
8.0.70.0000.00716.82
8.0.60.0000.00716.85
8.0.50.0000.00716.81
8.0.30.0080.00817.10
8.0.20.0110.00917.40
8.0.10.0040.00416.97
8.0.00.0110.00616.61
7.4.330.0040.00015.55
7.4.320.0060.00016.45
7.4.300.0030.00316.29
7.4.290.0000.00716.46
7.4.280.0000.00716.45
7.4.270.0040.00416.46
7.4.260.0070.00016.43
7.4.250.0000.00716.35
7.4.240.0030.00316.44
7.4.230.0000.00616.39
7.4.220.0000.00816.34
7.4.210.0070.01016.43
7.4.200.0000.00716.51
7.4.160.0080.01016.38
7.4.150.0100.00717.40
7.4.140.0110.01017.86
7.4.130.0070.01016.25
7.4.120.0130.01016.42
7.4.110.0060.00916.34
7.4.100.0120.00916.27
7.4.90.0100.01316.40
7.4.80.0090.01219.39
7.4.70.0110.00816.31
7.4.60.0130.00316.27
7.4.50.0090.00916.12
7.4.40.0120.00616.22
7.4.00.0070.00714.79
7.3.330.0020.00313.02
7.3.320.0030.00313.12
7.3.310.0030.00315.99
7.3.300.0060.00016.09
7.3.290.0070.00016.02
7.3.280.0090.00616.13
7.3.270.0160.00717.40
7.3.260.0080.01116.21
7.3.250.0060.01216.24
7.3.240.0060.01616.31
7.3.230.0030.01316.37
7.3.210.0130.01016.45
7.3.200.0070.01016.27
7.3.190.0100.01216.20
7.3.180.0130.00716.30
7.3.170.0140.00316.40
7.3.160.0260.01316.48
7.2.330.0060.01016.27
7.2.320.0000.02016.63
7.2.310.0090.00616.46
7.2.300.0180.00516.14
7.2.290.0170.00016.30
7.2.60.0000.01516.93
7.2.10.0350.01017.90
7.2.00.0350.00617.64
7.1.200.0000.01215.74
7.1.130.0340.00716.57
7.1.120.0310.00616.65
7.1.110.0440.00715.89
7.1.100.0230.01315.82
7.1.90.0340.00715.88
7.1.80.0400.00915.71
7.1.70.0310.00714.82
7.1.60.0400.01632.89
7.1.50.0540.01432.59
7.1.40.0570.02032.36
7.1.30.0490.00732.48
7.1.20.0470.00032.53
7.1.10.0320.00714.46
7.1.00.0360.00614.73

preferences:
56.41 ms | 401 KiB | 5 Q