3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = "Response: 311768560 311768562 311768564"; $array = preg_match_all('/\d+/', $response, $out) ? $out[0] : []; 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.0100.01117.60
8.4.130.0060.00517.96
8.4.120.0080.00620.44
8.4.110.0090.01122.33
8.4.100.0100.00118.08
8.4.90.0100.00318.56
8.4.80.0110.01018.24
8.4.70.0100.00717.73
8.4.60.0130.00718.70
8.4.50.0110.01017.85
8.4.40.0180.00319.54
8.4.30.0050.00518.54
8.4.20.0060.01318.76
8.4.10.0030.00619.62
8.3.270.0130.00616.58
8.3.260.0160.00316.85
8.3.250.0110.00818.85
8.3.240.0120.00717.20
8.3.230.0120.00916.45
8.3.220.0110.00817.07
8.3.210.0040.00416.75
8.3.200.0050.00316.54
8.3.190.0130.00816.64
8.3.180.0140.00616.63
8.3.170.0100.00716.86
8.3.160.0140.00416.47
8.3.150.0090.00918.73
8.3.140.0100.01016.83
8.3.130.0090.00018.30
8.3.120.0040.00418.75
8.3.110.0110.00716.88
8.3.100.0100.01024.06
8.3.90.0050.00326.77
8.3.80.0060.00316.88
8.3.70.0110.00416.61
8.3.60.0140.00716.63
8.3.50.0110.00316.30
8.3.40.0090.00618.96
8.3.30.0110.00418.71
8.3.20.0100.00024.18
8.3.10.0000.00824.66
8.3.00.0000.00726.16
8.2.290.0110.00820.72
8.2.280.0010.00818.78
8.2.270.0080.00016.91
8.2.260.0060.00320.91
8.2.250.0050.00317.10
8.2.240.0140.00719.21
8.2.230.0100.00520.94
8.2.220.0070.01437.54
8.2.210.0100.01026.77
8.2.200.0040.00416.75
8.2.190.0070.01016.72
8.2.180.0100.00625.92
8.2.170.0090.00618.99
8.2.160.0070.01022.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0030.00626.16
8.2.120.0040.00426.16
8.2.110.0060.00320.52
8.2.100.0120.00017.79
8.2.90.0000.00919.23
8.2.80.0030.00617.97
8.2.70.0060.00317.75
8.2.60.0000.00818.04
8.2.50.0050.00318.07
8.2.40.0060.00318.22
8.2.30.0000.00718.07
8.2.20.0060.00318.07
8.2.10.0070.00019.33
8.2.00.0050.00319.16
8.1.330.0110.00821.75
8.1.320.0130.00716.22
8.1.310.0030.00516.80
8.1.300.0090.00618.15
8.1.290.0040.00418.88
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0000.00823.86
8.1.230.0070.00320.99
8.1.220.0050.00517.76
8.1.210.0090.00018.77
8.1.200.0090.00017.35
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0030.00518.54
8.1.160.0040.00418.75
8.1.150.0040.00418.71
8.1.140.0030.00319.03
8.1.130.0000.00720.34
8.1.120.0070.00017.55
8.1.110.0030.00617.56
8.1.100.0000.00717.41
8.1.90.0030.00517.52
8.1.80.0000.01017.44
8.1.70.0030.00317.54
8.1.60.0060.00317.54
8.1.50.0040.00417.63
8.1.40.0000.00817.57
8.1.30.0050.00317.71
8.1.20.0050.00317.68
8.1.10.0040.00417.73
8.1.00.0000.00717.64
8.0.300.0020.00518.77
8.0.290.0040.00416.75
8.0.280.0050.00318.44
8.0.270.0080.00018.09
8.0.260.0060.00018.52
8.0.250.0000.00717.00
8.0.240.0000.00717.04
8.0.230.0030.00317.06
8.0.220.0030.00316.96
8.0.210.0000.00716.93
8.0.200.0070.00017.04
8.0.190.0040.00417.02
8.0.180.0070.00017.01
8.0.170.0060.00317.00
8.0.160.0050.00216.98
8.0.150.0040.00416.77
8.0.140.0040.00416.93
8.0.130.0000.00613.33
8.0.120.0080.00016.81
8.0.110.0030.00517.01
8.0.100.0000.00816.79
8.0.90.0070.00017.04
8.0.80.0050.01116.91
8.0.70.0110.01016.98
8.0.60.0180.00316.78
8.0.50.0160.00316.82
8.0.30.0070.01116.90
8.0.20.0030.01317.07
8.0.10.0120.00917.07
8.0.00.0000.01517.10
7.4.330.0000.00516.85
7.4.320.0000.00716.77
7.4.300.0040.00416.71
7.4.290.0070.00016.61
7.4.280.0000.00816.65
7.4.270.0030.00616.57
7.4.260.0000.00513.39
7.4.250.0040.00416.72
7.4.240.0040.00416.66
7.4.230.0000.00716.84
7.4.220.0000.00716.75
7.4.210.0060.01616.83
7.4.200.0070.01016.67
7.4.190.0040.01216.72
7.4.180.0110.01216.75
7.4.160.0120.00916.69
7.4.150.0090.01316.59
7.4.140.0070.01516.61
7.4.130.0040.01216.53
7.4.120.0070.01016.60
7.4.110.0060.01116.67
7.4.100.0140.00416.70
7.4.90.0040.01116.72
7.4.80.0170.00016.61
7.4.70.0100.00716.70
7.4.60.0090.00616.54
7.4.50.0140.00716.56
7.4.40.0130.01016.55
7.4.30.0110.01116.46
7.4.20.0080.01416.71
7.4.10.0050.01516.57
7.4.00.0090.00516.69
7.3.330.0040.00416.35
7.3.320.0050.00013.20
7.3.310.0070.00016.42
7.3.300.0000.00716.37
7.3.290.0090.00616.33
7.3.280.0090.00416.34
7.3.270.0030.01016.32
7.3.260.0110.00316.34
7.3.250.0070.00716.51
7.3.240.0080.00616.39
7.3.230.0100.00316.36
7.3.220.0080.00516.26
7.3.210.0030.01016.32
7.3.200.0040.01016.32
7.3.190.0070.00716.23
7.3.180.0030.01016.33
7.3.170.0050.00816.25
7.3.160.0080.00516.31
7.3.150.0030.01216.26
7.3.140.0150.00016.34
7.3.130.0060.00916.33
7.3.120.0060.00916.25
7.3.110.0120.00316.16
7.3.100.0060.00916.25
7.3.90.0060.00916.55
7.3.80.0090.00616.32
7.3.70.0090.00616.50
7.3.60.0060.00916.48
7.3.50.0120.00316.39
7.3.40.0090.00616.49
7.3.30.0000.01416.47
7.3.20.0080.00716.43
7.3.10.0050.01016.45
7.3.00.0030.01116.34

preferences:
34.12 ms | 403 KiB | 5 Q