3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = "Response: 311768560 311768562 311768564"; $array = preg_split('/\D+/', $response, 0, PREG_SPLIT_NO_EMPTY); var_export($array);

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.4.140.0130.01017.88
8.4.130.0060.00518.17
8.4.120.0110.00923.88
8.4.110.0130.00821.59
8.4.100.0070.00319.00
8.4.90.0070.00418.69
8.4.80.0110.01020.35
8.4.70.0120.00918.01
8.4.60.0140.00620.56
8.4.50.0100.01020.16
8.4.40.0130.00619.59
8.4.30.0130.00018.55
8.4.20.0100.01018.85
8.4.10.0060.00319.45
8.3.270.0150.00816.27
8.3.260.0120.00716.71
8.3.250.0090.00618.76
8.3.240.0120.00716.97
8.3.230.0120.00616.68
8.3.220.0060.00218.72
8.3.210.0120.00616.62
8.3.200.0130.00716.81
8.3.190.0110.00817.10
8.3.180.0100.00916.51
8.3.170.0050.00317.05
8.3.160.0090.00920.73
8.3.150.0070.00316.99
8.3.140.0030.00618.74
8.3.130.0060.00316.63
8.3.120.0070.00720.66
8.3.110.0030.00620.94
8.3.100.0030.00616.54
8.3.90.0070.00726.77
8.3.80.0060.00319.36
8.3.70.0110.01118.30
8.3.60.0120.00616.50
8.3.50.0140.00718.43
8.3.40.0140.00418.79
8.3.30.0070.00718.79
8.3.20.0070.00324.18
8.3.10.0080.00024.66
8.3.00.0000.00726.16
8.2.290.0100.00720.46
8.2.280.0110.00718.65
8.2.270.0070.01117.30
8.2.260.0040.00419.05
8.2.250.0080.00018.62
8.2.240.0030.00717.30
8.2.230.0090.00022.58
8.2.220.0060.00324.06
8.2.210.0040.01426.77
8.2.200.0090.00018.88
8.2.190.0120.00616.75
8.2.180.0120.00425.92
8.2.170.0120.00918.88
8.2.160.0090.00922.96
8.2.150.0120.00625.66
8.2.140.0050.00324.66
8.2.130.0090.00026.16
8.2.120.0080.00520.91
8.2.110.0070.00320.97
8.2.100.0040.00817.84
8.2.90.0000.00817.91
8.2.80.0000.00917.97
8.2.70.0090.00017.91
8.2.60.0060.00318.04
8.2.50.0070.00218.07
8.2.40.0050.00318.22
8.2.30.0040.00418.07
8.2.20.0030.00617.99
8.2.10.0000.00821.23
8.2.00.0080.00019.25
8.1.330.0100.00921.70
8.1.320.0140.00616.50
8.1.310.0070.00018.23
8.1.300.0050.00316.44
8.1.290.0060.00330.84
8.1.280.0090.00925.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0110.00428.09
8.1.240.0030.00623.97
8.1.230.0090.00322.75
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0040.00417.22
8.1.180.0080.00018.10
8.1.170.0070.00418.62
8.1.160.0040.00418.76
8.1.150.0000.00718.90
8.1.140.0040.00419.09
8.1.130.0000.00720.27
8.1.120.0030.00517.47
8.1.110.0040.00417.50
8.1.100.0030.00317.41
8.1.90.0000.00717.49
8.1.80.0060.00317.55
8.1.70.0070.00017.45
8.1.60.0000.00817.59
8.1.50.0080.00017.65
8.1.40.0000.00817.48
8.1.30.0000.00717.77
8.1.20.0000.00717.77
8.1.10.0030.00617.59
8.1.00.0040.00417.38
8.0.300.0050.00321.70
8.0.290.0050.00316.75
8.0.280.0070.00018.29
8.0.270.0030.00317.98
8.0.260.0030.00318.39
8.0.250.0070.00016.93
8.0.240.0000.00717.02
8.0.230.0000.00716.96
8.0.220.0000.00716.86
8.0.210.0080.00016.88
8.0.200.0030.00317.04
8.0.190.0000.00717.03
8.0.180.0040.00416.99
8.0.170.0040.00416.89
8.0.160.0040.00417.00
8.0.150.0040.00416.82
8.0.140.0040.00416.93
8.0.130.0030.00313.36
8.0.120.0060.00316.96
8.0.110.0000.00716.86
8.0.100.0000.00816.84
8.0.90.0000.00717.08
8.0.80.0110.01116.91
8.0.70.0060.01017.00
8.0.60.0110.00616.88
8.0.50.0120.00616.87
8.0.30.0060.01116.98
8.0.20.0050.01117.05
8.0.10.0120.00617.14
8.0.00.0000.01517.08
7.4.330.0000.00515.55
7.4.320.0030.00316.62
7.4.300.0060.00016.76
7.4.290.0030.00316.60
7.4.280.0080.00016.72
7.4.270.0030.00616.75
7.4.260.0030.00313.41
7.4.250.0020.00516.73
7.4.240.0030.00316.64
7.4.230.0040.00416.64
7.4.220.0030.00316.75
7.4.210.0130.00616.76
7.4.200.0100.00716.64
7.4.190.0070.01116.66
7.4.180.0030.01316.87
7.4.160.0090.00616.82
7.4.150.0080.00816.57
7.4.140.0040.01116.70
7.4.130.0070.01116.61
7.4.120.0100.00516.63
7.4.110.0060.00916.64
7.4.100.0130.00716.76
7.4.90.0060.00916.62
7.4.80.0190.00016.53
7.4.70.0060.00916.66
7.4.60.0090.01216.54
7.4.50.0120.00816.63
7.4.40.0040.01716.47
7.4.30.0040.01616.59
7.4.20.0000.01916.59
7.4.10.0090.00616.47
7.4.00.0090.01016.58
7.3.330.0040.00416.16
7.3.320.0060.00013.04
7.3.310.0070.00016.17
7.3.300.0030.00316.28
7.3.290.0110.00316.26
7.3.280.0100.00416.27
7.3.270.0000.01416.23
7.3.260.0070.00716.16
7.3.250.0080.00616.28
7.3.240.0000.01416.30
7.3.230.0110.00416.29
7.3.220.0140.00416.20
7.3.210.0130.00616.24
7.3.200.0080.00816.32
7.3.190.0130.00316.20
7.3.180.0090.00616.16
7.3.170.0070.00716.19
7.3.160.0090.00616.13
7.3.150.0060.00916.15
7.3.140.0070.01016.34
7.3.130.0030.01516.10
7.3.120.0060.00916.14
7.3.110.0150.00016.17
7.3.100.0100.01016.11
7.3.90.0090.00616.57
7.3.80.0140.00316.42
7.3.70.0090.00916.35
7.3.60.0100.00616.38
7.3.50.0000.01416.43
7.3.40.0070.01416.34
7.3.30.0130.00716.37
7.3.20.0120.00316.41
7.3.10.0100.00716.33
7.3.00.0040.01116.37

preferences:
125.31 ms | 403 KiB | 5 Q