3v4l.org

run code in 300+ PHP versions simultaneously
<?php $w = 'wonderous'; $x = 'a thing of beauty is ' . strtoupper($w); $z = ${'x'}; echo "${z}\n"; echo ${'z'},"\n";

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.0130.00616.50
8.3.50.0140.00521.21
8.3.40.0080.00818.79
8.3.30.0080.00818.70
8.3.20.0050.00320.39
8.3.10.0080.00021.78
8.3.00.0000.00823.71
8.2.180.0150.00618.66
8.2.170.0090.00922.96
8.2.160.0070.00720.47
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0000.00819.82
8.2.120.0040.00426.35
8.2.110.0040.00422.21
8.2.100.0080.00417.93
8.2.90.0080.00019.08
8.2.80.0050.00317.97
8.2.70.0060.00317.50
8.2.60.0110.00017.92
8.2.50.0040.00418.07
8.2.40.0040.00422.37
8.2.30.0070.00019.33
8.2.20.0050.00217.73
8.2.10.0090.00019.82
8.2.00.0000.00818.12
8.1.280.0140.00425.92
8.1.270.0030.01223.96
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0080.00024.00
8.1.230.0110.00419.12
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0070.00317.35
8.1.190.0000.00817.23
8.1.180.0080.00018.10
8.1.170.0000.00818.57
8.1.160.0000.00720.59
8.1.150.0040.00418.82
8.1.140.0040.00419.44
8.1.130.0040.00417.59
8.1.120.0000.00717.39
8.1.110.0040.00417.40
8.1.100.0030.00517.28
8.1.90.0040.00417.27
8.1.80.0040.00417.28
8.1.70.0030.00317.38
8.1.60.0040.00417.52
8.1.50.0000.00817.33
8.1.40.0080.00017.45
8.1.30.0030.00617.55
8.1.20.0000.00817.40
8.1.10.0000.00817.41
8.1.00.0000.00717.32
8.0.300.0030.00618.77
8.0.290.0040.00416.75
8.0.280.0070.00018.44
8.0.270.0030.00317.26
8.0.260.0000.00617.29
8.0.250.0000.00716.98
8.0.240.0030.00316.84
8.0.230.0000.00716.88
8.0.220.0000.00716.94
8.0.210.0040.00416.85
8.0.200.0040.00416.95
8.0.190.0040.00416.97
8.0.180.0000.00816.92
8.0.170.0000.00816.74
8.0.160.0070.00016.94
8.0.150.0070.00016.82
8.0.140.0040.00416.82
8.0.130.0060.00013.30
8.0.120.0090.00016.81
8.0.110.0030.00616.71
8.0.100.0000.00716.75
8.0.90.0000.00816.78
8.0.80.0090.00916.84
8.0.70.0070.00016.68
8.0.60.0050.00216.89
8.0.50.0030.00316.87
8.0.30.0110.00816.92
8.0.20.0110.00717.40
8.0.10.0040.00416.93
8.0.00.0090.00916.64
7.4.330.0050.00016.89
7.4.320.0030.00316.46
7.4.300.0000.00816.42
7.4.290.0060.00316.48
7.4.280.0100.00016.48
7.4.270.0080.00016.38
7.4.260.0000.00716.43
7.4.250.0040.00416.54
7.4.240.0020.00616.46
7.4.230.0000.00716.56
7.4.220.0090.01016.33
7.4.210.0070.00816.49
7.4.200.0050.00216.60
7.4.150.0120.00617.40
7.4.140.0140.01117.86
7.4.130.0120.00616.52
7.4.120.0110.00716.50
7.4.110.0090.00916.39
7.4.100.0140.00316.51
7.4.90.0110.00616.45
7.4.80.0090.00619.39
7.4.70.0110.01116.36
7.4.60.0110.01116.36
7.4.50.0070.00716.29
7.4.40.0170.00016.61
7.4.30.0120.01216.45
7.4.00.0060.01214.97
7.3.330.0030.00213.07
7.3.320.0030.00313.26
7.3.310.0000.00716.16
7.3.300.0000.00616.29
7.3.290.0070.00816.32
7.3.280.0090.00816.31
7.3.270.0060.01217.40
7.3.260.0060.01216.56
7.3.240.0070.01016.47
7.3.230.0070.01016.39
7.3.210.0090.00916.36
7.3.200.0100.01319.39
7.3.190.0060.01416.43
7.3.180.0060.01016.57
7.3.170.0100.01016.65
7.3.160.0110.01116.40
7.3.120.0060.01314.68
7.3.110.0030.01315.04
7.3.100.0000.01614.91
7.3.90.0080.00614.91
7.3.80.0000.01514.98
7.3.70.0070.00714.78
7.3.60.0000.01514.95
7.3.50.0090.00014.55
7.3.40.0090.00614.96
7.3.30.0050.00514.70
7.3.20.0100.00316.75
7.3.10.0050.01016.65
7.3.00.0110.00516.64
7.2.330.0080.01616.68
7.2.320.0090.00916.44
7.2.310.0100.00616.62
7.2.300.0030.01516.53
7.2.290.0110.01116.39
7.2.250.0040.01515.07
7.2.240.0130.00614.93
7.2.230.0040.01115.13
7.2.220.0040.00715.14
7.2.210.0030.01214.94
7.2.200.0080.00415.05
7.2.190.0040.01214.91
7.2.180.0000.01415.04
7.2.170.0110.00714.71
7.2.130.0050.01116.64
7.2.120.0150.00016.73
7.2.110.0160.00016.50
7.2.100.0190.00016.60
7.2.90.0000.01516.44
7.2.80.0110.00716.79
7.2.70.0030.01116.43
7.2.60.0080.00816.78
7.2.50.0000.01116.30
7.2.40.0060.00616.57
7.2.30.0100.00716.36
7.2.20.0190.00516.52
7.2.10.0120.00916.52
7.2.00.0090.01118.00
7.1.330.0030.01115.86
7.1.320.0060.00615.71
7.1.310.0080.00815.74
7.1.300.0040.01115.52
7.1.290.0030.00715.84
7.1.280.0030.01015.97
7.1.270.0000.01415.66
7.1.260.0110.00415.88
7.1.250.0100.00715.66
7.1.200.0000.01215.76
7.1.100.0030.01017.90
7.1.70.0030.00717.22
7.1.60.0090.01519.30
7.1.50.0060.01016.96
7.1.00.0030.07722.40
7.0.200.0060.00316.78
7.0.60.0200.04019.82
7.0.50.0070.04717.85
7.0.40.0070.04320.02
7.0.30.0300.07320.20
7.0.20.0230.06720.02
7.0.10.0170.08020.16
7.0.00.0200.07319.99
5.6.280.0000.03321.07
5.6.210.0070.06020.44
5.6.200.0100.03318.19
5.6.190.0100.07020.36
5.6.180.0470.08020.39
5.6.170.0330.07320.42
5.6.160.0100.07020.47
5.6.150.0130.05718.07
5.6.140.0100.08018.08
5.6.130.0100.07018.21
5.6.120.0130.07720.89
5.6.110.0070.04320.98
5.6.100.0170.07721.04
5.6.90.0100.06021.00
5.6.80.0070.08320.40
5.5.350.0170.08020.42
5.5.340.0100.04317.93
5.5.330.0170.07320.21
5.5.320.0370.07020.34
5.5.310.0200.03720.20
5.5.300.0030.04718.02
5.5.290.0100.08017.89
5.5.280.0030.04720.89
5.5.270.0000.04320.67
5.5.260.0070.06720.72
5.5.250.0130.08320.70
5.5.240.0130.07720.03

preferences:
28.87 ms | 401 KiB | 5 Q