3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "The Chernobyl disaster was a catastrophic nuclear accident that occurred on 26 April 1986, in the No. 4 nuclear reactor at the Chernobyl Nuclear Power Plant, near the city of Pripyat, in the north of the Ukrainian SSR."; $pattern = '%[A-Z]\w+%'; preg_match_all($pattern, $string, $matches); print($matches);

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.0060.01218.43
8.3.50.0050.01216.69
8.3.40.0110.00419.02
8.3.30.0040.01118.68
8.3.20.0040.00420.69
8.3.10.0080.00019.99
8.3.00.0040.00423.65
8.2.180.0180.00025.92
8.2.170.0140.00722.96
8.2.160.0000.01320.53
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0070.00026.16
8.2.110.0070.00320.35
8.2.100.0070.00417.91
8.2.90.0030.00517.84
8.2.80.0000.00817.97
8.2.70.0050.00317.90
8.2.60.0080.00018.22
8.2.50.0030.00518.10
8.2.40.0000.00819.21
8.2.30.0030.00619.22
8.2.20.0040.00417.97
8.2.10.0000.00719.05
8.2.00.0030.00319.48
8.1.280.0140.00425.92
8.1.270.0060.00322.53
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00322.38
8.1.230.0080.00320.89
8.1.220.0060.00317.74
8.1.210.0030.00618.90
8.1.200.0000.01117.36
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0050.00318.55
8.1.160.0040.00418.84
8.1.150.0000.00718.88
8.1.140.0000.00818.79
8.1.130.0080.00020.00
8.1.120.0100.00017.55
8.1.110.0030.00317.53
8.1.100.0050.00217.42
8.1.90.0000.00717.46
8.1.80.0040.00417.54
8.1.70.0030.00317.55
8.1.60.0040.00417.64
8.1.50.0070.00017.59
8.1.40.0040.00417.63
8.1.30.0050.00217.63
8.1.20.0030.00517.67
8.1.10.0000.00717.65
8.1.00.0000.00817.62
8.0.300.0040.00420.02
8.0.290.0050.00316.88
8.0.280.0000.00718.52
8.0.270.0000.00717.27
8.0.260.0070.00018.46
8.0.250.0030.00317.08
8.0.240.0030.00317.04
8.0.230.0040.00417.15
8.0.220.0030.00517.00
8.0.210.0040.00416.90
8.0.200.0030.00317.06
8.0.190.0030.00317.09
8.0.180.0050.00216.96
8.0.170.0000.00816.95
8.0.160.0000.00717.00
8.0.150.0050.00216.89
8.0.140.0050.00216.91
8.0.130.0060.00013.48
8.0.120.0030.00417.02
8.0.110.0040.00417.05
8.0.100.0050.00217.08
8.0.90.0040.00417.07
8.0.80.0150.00317.08
8.0.70.0050.00317.03
8.0.60.0070.00017.05
8.0.50.0000.00717.02
8.0.30.0120.00917.22
8.0.20.0090.01017.29
8.0.10.0050.00317.21
8.0.00.0050.01416.93
7.4.330.0000.00515.55
7.4.320.0060.00016.70
7.4.300.0030.00316.64
7.4.290.0030.00316.72
7.4.280.0000.00816.77
7.4.270.0070.00016.77
7.4.260.0060.00316.77
7.4.250.0020.00516.52
7.4.240.0060.00216.77
7.4.230.0030.00516.49
7.4.220.0060.00316.75
7.4.210.0090.00716.71
7.4.200.0030.00316.67
7.4.160.0060.00916.62
7.4.140.0030.01417.86
7.4.130.0100.01016.60
7.4.120.0070.01016.66
7.4.110.0030.01716.84
7.4.100.0060.01616.70
7.4.90.0090.00916.64
7.4.80.0040.01419.39
7.4.70.0040.01316.36
7.4.60.0110.00716.75
7.4.50.0060.00916.66
7.4.40.0080.00816.77
7.4.00.0070.01014.88
7.3.330.0000.00513.34
7.3.320.0030.00313.22
7.3.310.0030.00516.41
7.3.300.0040.00416.40
7.3.290.0040.00416.32
7.3.280.0110.00616.35
7.3.260.0090.01016.52
7.3.240.0080.00916.54
7.3.230.0060.01216.42
7.3.210.0100.00716.43
7.3.200.0120.00416.46
7.3.190.0160.00316.39
7.3.180.0080.00816.43
7.3.170.0110.00816.41
7.3.160.0080.00816.57
7.3.120.0000.01415.13
7.3.110.0000.01114.98
7.3.100.0060.00314.52
7.3.90.0080.00615.25
7.3.80.0000.01515.20
7.3.70.0070.00714.86
7.3.60.0000.01214.98
7.3.50.0120.00814.93
7.3.40.0030.01614.82
7.3.30.0070.00614.88
7.3.20.0080.00616.77
7.3.10.0080.01016.74
7.3.00.0060.00816.69
7.2.330.0070.01016.72
7.2.320.0090.01316.65
7.2.310.0090.00916.63
7.2.300.0090.00916.64
7.2.290.0070.01016.54
7.2.240.0120.00015.11
7.2.230.0070.00714.84
7.2.220.0040.01415.07
7.2.210.0030.01015.03
7.2.200.0070.00414.95
7.2.190.0090.00615.18
7.2.180.0070.01215.00
7.2.170.0050.00814.88
7.2.160.0070.01215.10
7.2.150.0070.01216.91
7.2.140.0050.01416.96
7.2.130.0050.00916.86
7.2.120.0100.00816.98
7.2.110.0050.00816.88
7.2.100.0090.01116.93
7.2.90.0100.00516.99
7.2.80.0120.00917.05
7.2.70.0080.00916.86
7.2.60.0070.01216.93
7.2.50.0110.00916.96
7.2.40.0070.01117.06
7.2.30.0130.00316.83
7.2.20.0050.00916.99
7.2.10.0100.00716.81
7.2.00.0080.00916.89
7.1.330.0090.00015.88
7.1.320.0040.01216.11
7.1.310.0100.00615.55
7.1.300.0000.01616.02
7.1.290.0030.01316.06
7.1.280.0090.00916.00
7.1.270.0060.01116.01
7.1.260.0060.00616.04
7.1.250.0050.01315.93

preferences:
63.62 ms | 401 KiB | 5 Q