3v4l.org

run code in 300+ PHP versions simultaneously
<?php> $employee_array[0] = "NSA"; $employee_array[1] = "Anonymous"; $employee_array[2] = "Isil"; $employee_array[3] = "Octavius"; echo "Two of my employees are " . $employee_array[0] . " & " . $employee_array[1]; echo "<br />Two more employees of mine are " . $employee_array[2] . " & " . $employee_array[3]; ?>

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.0070.01418.30
8.3.60.0110.00718.20
8.3.50.0280.00522.05
8.3.40.0040.01118.85
8.3.30.0120.00318.68
8.3.20.0070.00020.13
8.3.10.0000.00823.61
8.3.00.0000.00819.13
8.2.180.0070.00718.16
8.2.170.0060.00922.96
8.2.160.0100.00320.47
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0000.01017.50
8.2.120.0070.00026.35
8.2.110.0030.00721.07
8.2.100.0120.00017.50
8.2.90.0030.00519.23
8.2.80.0040.00417.97
8.2.70.0030.00617.50
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0000.00919.34
8.2.30.0060.00320.53
8.2.20.0050.00517.64
8.2.10.0050.00317.93
8.2.00.0040.00417.93
8.1.280.0120.00625.92
8.1.270.0040.00423.84
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00723.92
8.1.230.0100.00318.80
8.1.220.0050.00317.74
8.1.210.0090.00018.77
8.1.200.0030.00617.22
8.1.190.0000.00717.46
8.1.180.0000.00718.10
8.1.170.0040.00418.50
8.1.160.0050.00221.99
8.1.150.0000.00718.75
8.1.140.0060.00319.49
8.1.130.0040.00417.50
8.1.120.0070.00017.22
8.1.110.0040.00417.20
8.1.100.0040.00417.29
8.1.90.0000.00717.40
8.1.80.0000.00717.20
8.1.70.0000.00717.19
8.1.60.0030.00617.42
8.1.50.0030.00517.38
8.1.40.0000.00817.25
8.1.30.0040.00417.34
8.1.20.0040.00417.55
8.1.10.0000.00917.42
8.1.00.0070.00317.30
8.0.300.0020.00518.77
8.0.290.0000.00716.63
8.0.280.0080.00018.29
8.0.270.0050.00217.06
8.0.260.0030.00517.19
8.0.250.0000.00816.88
8.0.240.0000.00716.81
8.0.230.0000.00616.68
8.0.220.0040.00416.66
8.0.210.0000.00716.80
8.0.200.0030.00316.80
8.0.190.0030.00516.70
8.0.180.0040.00416.80
8.0.170.0080.00016.83
8.0.160.0030.00316.78
8.0.150.0000.00816.73
8.0.140.0000.00716.71
8.0.130.0000.00613.34
8.0.120.0080.00016.75
8.0.110.0040.00416.58
8.0.100.0070.00016.58
8.0.90.0030.00416.78
8.0.80.0120.00316.71
8.0.70.0000.00816.67
8.0.60.0040.00416.59
8.0.50.0030.00616.75
8.0.30.0030.01417.04
8.0.20.0110.00717.40
8.0.10.0070.00016.70
8.0.00.0040.01316.62
7.4.330.0000.00416.66
7.4.320.0030.00316.40
7.4.300.0000.00616.38
7.4.290.0030.00316.38
7.4.280.0050.00216.37
7.4.270.0030.00316.48
7.4.260.0040.00416.41
7.4.250.0040.00416.35
7.4.240.0020.00516.45
7.4.230.0000.00716.39
7.4.220.0060.01216.49
7.4.210.0090.01216.36
7.4.200.0030.00316.44
7.4.160.0100.00516.50
7.4.150.0050.01417.40
7.4.140.0140.00817.86
7.4.130.0130.00716.46
7.4.120.0080.00916.32
7.4.110.0170.00316.41
7.4.100.0150.00616.41
7.4.90.0090.01216.39
7.4.80.0090.00919.39
7.4.70.0060.01116.39
7.4.60.0100.00716.34
7.4.50.0120.00616.13
7.4.40.0060.01216.11
7.4.30.0120.00616.36
7.4.00.0080.00814.68
7.3.330.0030.00313.19
7.3.320.0060.00013.21
7.3.310.0080.00015.95
7.3.300.0030.00316.13
7.3.290.0050.00916.11
7.3.280.0070.00916.09
7.3.270.0180.00017.40
7.3.260.0110.00616.13
7.3.250.0080.00816.20
7.3.240.0100.00716.28
7.3.230.0130.00316.39
7.3.210.0080.01016.36
7.3.200.0130.00316.26
7.3.190.0030.01616.10
7.3.180.0060.01116.30
7.3.170.0120.00616.27
7.3.160.0070.01416.38
7.2.330.0100.00716.27
7.2.320.0100.00716.59
7.2.310.0060.01016.60
7.2.300.0030.01316.52
7.2.290.0080.00816.49
7.2.60.0030.01316.93
7.2.00.0280.00719.23
7.1.200.0110.00015.73
7.1.100.0030.00818.09
7.1.70.0030.00717.18
7.1.60.0030.00917.09
7.1.50.0000.01116.77
7.1.40.0040.00716.34
7.1.30.0030.00916.55
7.1.20.0070.00416.66
7.1.10.0040.00716.42
7.1.00.0050.00516.55
7.0.200.0100.00016.69
7.0.190.0000.00716.67
7.0.180.0060.00616.32
7.0.170.0000.00816.30
7.0.160.0060.01016.23
7.0.150.0000.01016.13
7.0.140.0080.00316.16
7.0.130.0000.01016.41
7.0.120.0090.00316.76
7.0.110.0070.01116.30
7.0.100.0120.00016.31
7.0.90.0060.00616.33
7.0.80.0030.01216.48
7.0.70.0070.00716.25
7.0.60.0130.00316.03
7.0.50.0140.00516.51
7.0.40.0050.00715.20
7.0.30.0040.00815.20
7.0.20.0050.00915.20
7.0.10.0050.01115.20
7.0.00.0000.01015.20
5.6.300.0140.03420.89
5.6.290.0100.04220.78
5.6.280.0030.04520.96
5.6.270.0100.04720.88
5.6.260.0090.03720.89
5.6.250.0030.04721.01
5.6.240.0040.04820.80
5.6.230.0070.05120.88
5.6.220.0000.04820.91
5.6.210.0120.03520.79
5.6.200.0090.05820.73
5.6.190.0040.04620.81
5.6.180.0090.04520.93
5.6.170.0100.06121.01
5.6.160.0090.05020.84
5.6.150.0030.05420.85
5.6.140.0070.05020.76
5.6.130.0060.04120.87
5.6.120.0000.04720.70
5.6.110.0070.04420.71
5.6.100.0030.05120.83
5.6.90.0100.03520.88
5.6.80.0040.04720.26
5.6.70.0060.04120.41
5.6.60.0070.05220.39
5.6.50.0030.06120.20
5.6.40.0000.05020.38
5.6.30.0040.07220.28
5.6.20.0070.04420.15
5.6.10.0070.03820.20
5.6.00.0060.04020.19
5.5.380.0060.03817.54
5.5.370.0090.03717.57
5.5.360.0000.05617.55
5.5.350.0030.04317.45
5.5.340.0060.04217.75
5.5.330.0060.04118.07
5.5.320.0000.04418.07
5.5.310.0030.04117.74
5.5.300.0000.06117.84
5.5.290.0140.03418.07
5.5.280.0030.08217.97
5.5.270.0060.03717.73
5.5.260.0030.06717.91
5.5.250.0030.04217.76
5.5.240.0000.04417.34
5.5.230.0040.04217.32
5.5.220.0130.03317.21
5.5.210.0000.04217.35
5.5.200.0070.03617.06
5.5.190.0000.05517.05
5.5.180.0080.03817.05
5.5.160.0070.03617.37
5.5.150.0070.03617.22
5.5.140.0030.04317.40
5.5.130.0030.03817.41
5.5.120.0030.03917.33
5.5.110.0070.03717.06
5.5.100.0030.04017.28
5.5.90.0000.03916.95
5.5.80.0160.02817.26
5.5.70.0000.04516.95
5.5.60.0030.04117.31
5.5.50.0070.04017.26
5.5.40.0000.04217.16
5.5.30.0100.03017.26
5.5.20.0040.03917.20
5.5.10.0030.04217.07
5.5.00.0040.03617.25

preferences:
43.85 ms | 401 KiB | 5 Q