3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr[0]="page0"; $arr[1]="page1"; $arr[2]="page2"; $arr[3]="goal"; $arr[4]="page4"; echo implode(" ---> ", array_slice($arr, 0, array_search("goal",$arr)+1));

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.130.0060.00316.80
8.3.120.0100.00020.68
8.3.110.0030.00520.94
8.3.100.0100.01024.06
8.3.90.0120.00626.77
8.3.80.0030.00618.29
8.3.70.0040.01116.63
8.3.60.0150.00618.11
8.3.50.0090.00921.08
8.3.40.0110.00718.84
8.3.30.0120.00918.80
8.3.20.0030.00518.65
8.3.10.0000.00721.63
8.3.00.0050.00319.80
8.2.250.0060.00318.35
8.2.240.0050.00517.15
8.2.230.0060.00322.58
8.2.220.0030.00637.54
8.2.210.0070.00726.77
8.2.200.0000.01016.25
8.2.190.0200.00316.58
8.2.180.0110.00416.63
8.2.170.0060.01022.96
8.2.160.0110.00719.34
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0040.00421.11
8.2.120.0070.00026.35
8.2.110.0000.00822.25
8.2.100.0040.00817.76
8.2.90.0050.00319.35
8.2.80.0030.00617.97
8.2.70.0030.00517.75
8.2.60.0040.00418.03
8.2.50.0030.00618.10
8.2.40.0030.00522.31
8.2.30.0030.00719.41
8.2.20.0000.00817.72
8.2.10.0000.00718.11
8.2.00.0040.00417.96
8.1.300.0060.00320.34
8.1.290.0060.00330.84
8.1.280.0090.00625.92
8.1.270.0050.00323.92
8.1.260.0030.00628.09
8.1.250.0040.00428.09
8.1.240.0070.00321.99
8.1.230.0110.00020.89
8.1.220.0040.00417.79
8.1.210.0000.00918.77
8.1.200.0090.00017.13
8.1.190.0040.00417.22
8.1.180.0000.00818.10
8.1.170.0050.00318.71
8.1.160.0040.00418.90
8.1.150.0040.00418.62
8.1.140.0000.00819.48
8.1.130.0000.00817.31
8.1.120.0000.00717.26
8.1.110.0040.00417.21
8.1.100.0040.00417.29
8.1.90.0040.00417.30
8.1.80.0080.00017.20
8.1.70.0030.00317.33
8.1.60.0030.00617.36
8.1.50.0000.00817.33
8.1.40.0090.00017.41
8.1.30.0030.00517.38
8.1.20.0050.00317.43
8.1.10.0000.01117.51
8.1.00.0000.00717.44
8.0.300.0040.00418.77
8.0.290.0050.00316.63
8.0.280.0030.00318.24
8.0.270.0030.00717.10
8.0.260.0020.00516.80
8.0.250.0000.00616.97
8.0.240.0000.00716.84
8.0.230.0030.00316.68
8.0.220.0000.00716.75
8.0.210.0000.00716.79
8.0.200.0000.00716.74
8.0.190.0040.00416.82
8.0.180.0070.00416.81
8.0.170.0000.00716.60
8.0.160.0030.00516.65
8.0.150.0030.00516.73
8.0.140.0070.00016.74
8.0.130.0060.00013.18
8.0.120.0050.00316.72
8.0.110.0040.00416.70
8.0.100.0080.00016.64
8.0.90.0000.00716.82
8.0.80.0100.00716.75
8.0.70.0030.00616.61
8.0.60.0000.00816.62
8.0.50.0070.00016.60
8.0.30.0030.01416.83
8.0.20.0110.01017.40
8.0.10.0040.00416.93
8.0.00.0110.00816.65
7.4.330.0000.00515.08
7.4.320.0000.00616.48
7.4.300.0060.00016.39
7.4.290.0040.00416.51
7.4.280.0000.00916.41
7.4.270.0040.00416.44
7.4.260.0030.00716.39
7.4.250.0040.00416.32
7.4.240.0000.00716.45
7.4.230.0030.00316.41
7.4.220.0030.01416.53
7.4.210.0090.00616.61
7.4.200.0040.00416.53
7.4.160.0100.00616.56
7.4.150.0130.00717.40
7.4.140.0120.00517.86
7.4.130.0080.00916.43
7.4.120.0080.00816.44
7.4.110.0070.01016.25
7.4.100.0060.01016.58
7.4.90.0160.00016.17
7.4.80.0100.01019.39
7.4.70.0110.00716.42
7.4.60.0100.00616.38
7.4.50.0100.00316.48
7.4.40.0170.00016.55
7.4.30.0060.01016.16
7.4.00.0040.01214.84
7.3.330.0000.00513.17
7.3.320.0030.00313.05
7.3.310.0000.00716.19
7.3.300.0000.00716.27
7.3.290.0070.01116.22
7.3.280.0110.00816.18
7.3.270.0100.00717.40
7.3.260.0120.00616.36
7.3.250.0130.01116.34
7.3.240.0140.00416.57
7.3.230.0110.00716.39
7.3.210.0130.00316.46
7.3.200.0120.00316.48
7.3.190.0030.01416.16
7.3.180.0130.01016.31
7.3.170.0060.01016.34
7.3.160.0030.01316.24
7.2.330.0070.01016.47
7.2.320.0170.00016.43
7.2.310.0070.01116.32
7.2.300.0070.01016.44
7.2.290.0090.00916.59
7.2.120.0120.00316.71
7.2.110.0100.00316.44
7.2.100.0070.00716.50
7.2.90.0030.01016.28
7.2.80.0030.01016.74
7.2.70.0070.00716.78
7.2.60.0100.00316.85
7.2.50.0100.00316.96
7.2.40.0000.01317.14
7.2.30.0070.00716.90
7.2.20.0030.01216.69
7.2.10.0040.01216.84
7.2.00.0060.00817.80
7.1.240.0030.01015.71
7.1.230.0070.00715.52
7.1.220.0040.01215.93
7.1.210.0040.00415.77
7.1.200.0100.00015.74
7.1.190.0070.00715.81
7.1.180.0030.00715.69
7.1.170.0100.00315.52
7.1.160.0060.00915.80
7.1.150.0090.00015.85
7.1.140.0080.00015.76
7.1.130.0060.00915.60
7.1.120.0030.01015.84
7.1.110.0060.00615.43
7.1.100.0050.00916.68
7.1.90.0100.00415.43
7.1.80.0030.01015.77
7.1.70.0090.00716.44
7.1.60.0090.00617.61
7.1.50.0050.00815.72
7.1.40.0080.00315.83
7.1.30.0060.00615.82
7.1.20.0070.00715.89
7.1.10.0030.00615.80
7.1.00.0070.04019.02
7.0.320.0060.00615.13
7.0.310.0100.00315.54
7.0.300.0070.00715.24
7.0.290.0000.01615.46
7.0.280.0040.00715.26
7.0.270.0070.00715.58
7.0.260.0030.00715.38
7.0.250.0040.00415.08
7.0.240.0000.01215.15
7.0.230.0060.00615.49
7.0.220.0040.00715.32
7.0.210.0000.01315.33
7.0.200.0070.00316.08
7.0.190.0030.01215.19
7.0.180.0040.00815.54
7.0.170.0030.00315.61
7.0.160.0000.01615.50
7.0.150.0060.00615.49
7.0.140.0070.00715.28
7.0.130.0100.00015.27
7.0.120.0030.01015.08
7.0.110.0070.00715.54
7.0.100.0190.02617.64
7.0.90.0150.02317.71
7.0.80.0150.04017.71
7.0.70.0100.04817.64
7.0.60.0100.04517.53
7.0.50.0090.03217.79
7.0.40.0060.05316.93
7.0.30.0110.03316.66
7.0.20.0060.02416.60
7.0.10.0070.02016.77
7.0.00.0030.04016.84
5.6.380.0060.00614.34
5.6.370.0030.00614.18
5.6.360.0070.00714.02
5.6.350.0040.01114.19
5.6.340.0030.00714.58
5.6.330.0100.00314.30
5.6.320.0080.00814.60
5.6.310.0000.01214.02
5.6.300.0070.00714.25
5.6.290.0070.00314.44
5.6.280.0050.04017.72
5.6.270.0000.01314.49
5.6.260.0060.01014.50
5.6.250.0080.02217.49
5.6.240.0070.04217.69
5.6.230.0090.02117.55
5.6.220.0090.03717.55
5.6.210.0010.02717.40
5.6.200.0090.03917.70
5.6.190.0030.03817.78
5.6.180.0050.04317.59
5.6.170.0050.04517.69
5.6.160.0010.02417.55
5.6.150.0070.02117.56
5.6.140.0080.03217.71
5.6.130.0030.05017.62
5.6.120.0050.03017.75
5.6.110.0050.03117.80
5.6.100.0080.02517.63
5.6.90.0040.02917.67
5.6.80.0050.04017.27
5.6.70.0060.02617.28
5.6.60.0100.03217.40
5.6.50.0090.03617.38
5.6.40.0050.04617.35
5.6.30.0020.03717.27
5.6.20.0050.03817.39
5.6.10.0050.04317.41
5.6.00.0120.02317.44
5.5.380.0030.03015.81
5.5.370.0030.03315.77
5.5.360.0050.02515.63
5.5.350.0060.02315.82
5.5.340.0080.04116.15
5.5.330.0070.02515.91
5.5.320.0060.04015.76
5.5.310.0080.02716.00
5.5.300.0050.02315.84
5.5.290.0080.02215.92
5.5.280.0060.02515.99
5.5.270.0050.02715.88
5.5.260.0030.02715.94
5.5.250.0070.02715.76
5.5.240.0100.02015.49
5.5.230.0030.02915.68
5.5.220.0000.02915.59
5.5.210.0050.03815.63
5.5.200.0090.02115.68
5.5.190.0080.04015.62
5.5.180.0060.04315.68
5.5.170.0030.00614.28
5.5.160.0050.04415.55
5.5.150.0070.02015.52
5.5.140.0020.02715.50
5.5.130.0050.04215.54
5.5.120.0100.03715.46
5.5.110.0070.04215.63
5.5.100.0090.03415.60
5.5.90.0090.03515.57
5.5.80.0020.03715.44
5.5.70.0020.04315.39
5.5.60.0050.02315.50
5.5.50.0030.02915.50
5.5.40.0050.02915.57
5.5.30.0080.02715.63
5.5.20.0100.02215.57
5.5.10.0100.02715.53
5.5.00.0060.04315.47

preferences:
29.98 ms | 406 KiB | 6 Q