3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'foo'; echo <<<BAR $foo BAR; echo <<<BAR $foo. BAR;

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.60.0100.01018.31
8.3.50.0040.01117.86
8.3.40.0120.00318.74
8.3.30.0070.00718.58
8.3.20.0060.00319.08
8.3.10.0060.00319.17
8.3.00.0040.00423.39
8.2.180.0150.00318.13
8.2.170.0090.00622.96
8.2.160.0070.00722.13
8.2.150.0080.00024.18
8.2.140.0080.00624.66
8.2.130.0040.00419.82
8.2.120.0000.00726.35
8.2.110.0090.00021.03
8.2.100.0060.00617.84
8.2.90.0040.00419.06
8.2.80.0040.00417.97
8.2.70.0050.00317.93
8.2.60.0080.00017.93
8.2.50.0030.00618.10
8.2.40.0070.00019.33
8.2.30.0000.00719.42
8.2.20.0080.00018.03
8.2.10.0040.00418.01
8.2.00.0000.00819.42
8.1.270.0060.00322.19
8.1.260.0050.00326.35
8.1.250.0000.00928.09
8.1.240.0060.00324.01
8.1.230.0040.00717.42
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0050.00517.30
8.1.190.0050.00317.23
8.1.180.0050.00318.10
8.1.170.0080.00018.30
8.1.160.0070.00018.86
8.1.150.0040.00418.77
8.1.140.0080.00017.63
8.1.130.0040.00419.00
8.1.120.0070.00017.28
8.1.110.0040.00417.27
8.1.100.0070.00017.42
8.1.90.0040.00417.28
8.1.80.0100.00017.31
8.1.70.0040.00417.29
8.1.60.0030.00617.43
8.1.50.0000.00817.56
8.1.40.0040.00417.39
8.1.30.0050.00517.64
8.1.20.0060.00317.64
8.1.10.0000.00817.52
8.1.00.0040.00417.32
8.0.300.0030.00618.77
8.0.290.0040.00416.75
8.0.280.0030.00318.42
8.0.270.0000.00717.12
8.0.260.0000.00718.96
8.0.250.0030.00316.98
8.0.240.0030.00516.99
8.0.230.0030.00316.93
8.0.220.0000.00716.86
8.0.210.0030.00316.96
8.0.200.0030.00317.00
8.0.190.0060.00317.02
8.0.180.0030.00516.98
8.0.170.0060.00316.96
8.0.160.0000.00716.98
8.0.150.0080.00316.77
8.0.140.0030.00616.90
8.0.130.0030.00313.45
8.0.120.0000.00716.73
8.0.110.0000.00716.96
8.0.100.0000.00716.79
8.0.90.0070.00016.84
8.0.80.0080.00816.92
8.0.70.0070.00016.71
8.0.60.0000.00816.98
8.0.50.0040.00416.83
8.0.30.0120.00816.97
8.0.20.0080.01017.40
8.0.10.0070.00017.07
8.0.00.0120.00716.89
7.4.330.0000.00415.55
7.4.320.0060.00016.52
7.4.300.0060.00016.41
7.4.290.0070.00016.61
7.4.280.0040.00416.56
7.4.270.0060.00316.58
7.4.260.0030.00316.46
7.4.250.0040.00416.54
7.4.240.0000.00716.40
7.4.230.0040.00416.51
7.4.220.0000.00716.52
7.4.210.0040.01116.54
7.4.200.0040.00416.54
7.4.160.0120.00416.48
7.4.140.0110.00917.86
7.4.130.0070.01016.53
7.4.120.0100.01016.54
7.4.110.0100.00616.45
7.4.100.0100.01016.67
7.4.90.0100.01016.61
7.4.80.0140.00819.39
7.4.70.0030.01416.57
7.4.60.0110.00616.56
7.4.50.0080.00516.42
7.4.40.0100.01316.52
7.3.330.0060.00013.05
7.3.320.0030.00313.07
7.3.310.0030.00316.09
7.3.300.0000.00616.24
7.3.290.0060.00016.25
7.3.280.0040.01016.19
7.3.260.0120.00816.30
7.3.240.0110.00716.33
7.3.230.0080.00816.26
7.3.210.0090.00916.30
7.3.200.0070.01016.44
7.3.190.0030.01316.53
7.3.180.0030.01316.39
7.3.170.0040.01216.41
7.3.160.0130.00316.26
7.2.330.0160.00416.18
7.2.320.0170.00316.16
7.2.310.0090.00916.58
7.2.300.0070.01116.41
7.2.290.0070.01716.25
7.2.60.1260.00714.78
7.2.50.1460.00914.56
7.2.40.1460.01015.24
7.2.30.1110.00715.16
7.2.20.1260.00815.12
7.2.10.1150.00815.07
7.2.00.1500.00715.26
7.1.170.1120.00813.67
7.1.160.1140.00816.48
7.1.150.1060.01016.71
7.1.140.1080.00816.55
7.1.130.1270.00916.27
7.1.120.1200.01116.48
7.1.110.1330.00715.89
7.1.100.1140.00915.96
7.1.90.1190.01015.71
7.1.80.1150.01015.81
7.1.70.1200.00815.05
7.1.60.1240.01333.17
7.1.50.1330.01032.77
7.1.40.1310.01132.37
7.1.30.1370.01332.49
7.1.20.1260.01232.67
7.1.10.1210.00914.56
7.1.00.1170.01014.57

preferences:
54.05 ms | 400 KiB | 5 Q