3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 5 + "10 Little Piggies"; // $foo is integer (15) print $foo; $foo = 5 + "10 Small Pigs"; // $foo is integer (15) print $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.60.0110.00416.48
8.3.50.0140.00722.05
8.3.40.0090.00918.69
8.3.30.0110.00418.72
8.3.20.0000.00720.20
8.3.10.0080.00023.65
8.3.00.0050.00319.38
8.2.180.0170.00316.72
8.2.170.0140.00422.96
8.2.160.0100.00720.52
8.2.150.0040.00424.18
8.2.140.0100.00024.66
8.2.130.0060.00317.47
8.2.120.0030.00526.35
8.2.110.0000.00820.47
8.2.100.0080.00317.78
8.2.90.0000.00819.22
8.2.80.0000.00817.97
8.2.70.0000.00817.75
8.2.60.0040.00417.80
8.2.50.0060.00318.10
8.2.40.0030.00520.39
8.2.30.0040.00420.55
8.2.20.0000.00817.78
8.2.10.0040.00417.92
8.2.00.0000.00818.04
8.1.280.0140.00725.92
8.1.270.0050.00523.62
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0100.00222.07
8.1.230.0000.01120.84
8.1.220.0030.00617.76
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0000.01118.54
8.1.160.0000.00722.12
8.1.150.0000.00718.74
8.1.140.0050.00319.56
8.1.130.0030.00317.71
8.1.120.0070.00017.43
8.1.110.0000.00717.26
8.1.100.0050.00317.27
8.1.90.0040.00417.32
8.1.80.0000.00817.34
8.1.70.0040.00417.16
8.1.60.0040.00417.39
8.1.50.0060.00317.36
8.1.40.0000.00817.26
8.1.30.0040.00417.51
8.1.20.0080.00017.52
8.1.10.0080.00017.45
8.1.00.0040.00417.42
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.42
8.0.270.0050.00317.15
8.0.260.0060.00017.14
8.0.250.0000.00616.89
8.0.240.0000.00716.88
8.0.230.0000.00716.91
8.0.220.0000.00716.83
8.0.210.0030.00316.85
8.0.200.0060.00016.92
8.0.190.0000.00716.95
8.0.180.0000.00916.77
8.0.170.0040.00416.91
8.0.160.0040.00416.95
8.0.150.0070.00016.77
8.0.140.0040.00416.79
8.0.130.0030.00313.32
8.0.120.0030.00516.76
8.0.110.0040.00416.85
8.0.100.0000.00716.71
8.0.90.0070.00016.82
8.0.80.0040.01116.78
8.0.70.0030.00516.69
8.0.60.0050.00216.78
8.0.50.0050.00316.87
8.0.30.0110.00717.10
8.0.20.0150.01717.40
8.0.10.0050.00316.95
8.0.00.0100.00716.72
7.4.330.0030.00316.77
7.4.320.0030.00316.34
7.4.300.0040.00416.57
7.4.290.0030.00316.54
7.4.280.0040.00416.46
7.4.270.0030.00316.32
7.4.260.0030.00316.46
7.4.250.0070.00016.40
7.4.240.0030.00316.35
7.4.230.0030.00316.50
7.4.220.0150.00616.55
7.4.210.0090.00616.48
7.4.200.0030.00316.44
7.4.160.0120.00316.36
7.4.150.0160.00317.40
7.4.140.0150.00517.86
7.4.130.0120.00416.43
7.4.120.0120.00516.47
7.4.110.0100.00616.53
7.4.100.0110.00716.31
7.4.90.0110.00516.27
7.4.80.0100.00719.39
7.4.70.0030.01316.48
7.4.60.0140.00316.48
7.4.50.0070.00716.27
7.4.40.0130.00316.55
7.4.30.0100.00616.45
7.4.00.0040.01115.14
7.3.330.0030.00313.09
7.3.320.0020.00213.09
7.3.310.0000.00716.09
7.3.300.0070.00016.27
7.3.290.0050.00916.22
7.3.280.0140.00516.26
7.3.270.0090.00917.40
7.3.260.0100.01316.23
7.3.250.0110.01016.33
7.3.240.0110.00816.26
7.3.230.0170.00016.39
7.3.210.0100.00716.25
7.3.200.0110.00916.25
7.3.190.0090.00916.30
7.3.180.0090.00616.19
7.3.170.0110.00716.35
7.3.160.0070.01416.19
7.3.10.0120.00316.29
7.3.00.0080.00816.80
7.2.330.0070.01016.26
7.2.320.0090.00916.77
7.2.310.0140.00716.32
7.2.300.0100.00616.38
7.2.290.0060.01316.60
7.2.130.0100.00316.52
7.2.120.0030.01116.56
7.2.110.0060.00916.46
7.2.100.0040.01116.71
7.2.90.0080.00417.01
7.2.80.0100.00716.88
7.2.70.0040.01116.85
7.2.60.0080.00816.63
7.2.50.0080.01116.21
7.2.40.0140.00316.63
7.2.30.0060.00316.87
7.2.20.0040.00716.70
7.2.10.0030.01016.51
7.2.00.0050.01018.12
7.1.250.0060.01015.69
7.1.200.0100.00315.68
7.1.100.0030.00917.95
7.1.70.0030.00616.80
7.1.60.0210.00319.12
7.1.50.0030.01716.94
7.1.00.0030.07722.29
7.0.200.0130.00316.28
7.0.60.0070.08019.93
7.0.50.0030.06017.84
7.0.40.0070.07720.05
7.0.30.0330.08020.35
7.0.20.0130.04320.33
7.0.10.0000.08720.16
7.0.00.0100.05320.09
5.6.280.0000.07321.10
5.6.210.0070.08320.48
5.6.200.0070.04718.24
5.6.190.0130.07020.57
5.6.180.0230.08320.35
5.6.170.0300.07720.48
5.6.160.0000.05320.61
5.6.150.0030.06018.22
5.6.140.0170.06718.18
5.6.130.0130.08018.15
5.6.120.0130.07720.94
5.6.110.0130.08021.10
5.6.100.0030.04321.08
5.6.90.0100.05021.12
5.6.80.0100.07320.38
5.5.350.4100.03320.31
5.5.340.0030.04017.96
5.5.330.0130.04720.37
5.5.320.0030.08320.30
5.5.310.0270.05020.26
5.5.300.0030.07318.02
5.5.290.0030.04717.92
5.5.280.0100.03320.76
5.5.270.0070.08720.66
5.5.260.0130.05720.87
5.5.250.0000.04720.79
5.5.240.0330.06020.25

preferences:
57.01 ms | 401 KiB | 5 Q