3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = []; $a = preg_match('/([H])(?P<word>ello)/', "Hello", $matches); var_dump($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.130.0030.00518.65
8.3.120.0060.00318.88
8.3.110.0000.00820.94
8.3.100.0080.00024.06
8.3.90.0110.00026.77
8.3.80.0030.00616.70
8.3.70.0090.00616.63
8.3.60.0110.00716.75
8.3.50.0100.01023.75
8.3.40.0100.00721.73
8.3.30.0100.01018.79
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.250.0100.01316.54
8.2.240.0000.01616.76
8.2.230.0040.00422.58
8.2.220.0080.00037.54
8.2.210.0080.00026.77
8.2.200.0030.00616.63
8.2.190.0100.01016.63
8.2.180.0180.00425.92
8.2.170.0070.00718.96
8.2.160.0130.00322.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0070.00026.35
8.2.110.0100.00021.07
8.2.100.0040.00817.91
8.2.90.0050.00318.03
8.2.80.0030.00719.82
8.2.70.0080.00017.93
8.2.60.0000.00818.03
8.2.50.0000.00918.10
8.2.40.0080.00019.17
8.2.30.0050.00219.08
8.2.20.0000.00717.99
8.2.10.0000.00719.14
8.2.00.0040.00419.21
8.1.300.0040.01418.00
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0030.00523.99
8.1.260.0080.00028.09
8.1.250.0060.00328.09
8.1.240.0100.00722.45
8.1.230.0080.00320.86
8.1.220.0080.00017.74
8.1.210.0060.00318.91
8.1.200.0040.00417.35
8.1.190.0050.00517.35
8.1.180.0050.00318.10
8.1.170.0000.00818.71
8.1.160.0030.00519.02
8.1.150.0000.00718.81
8.1.140.0000.00718.91
8.1.130.0000.00720.04
8.1.120.0070.00017.55
8.1.110.0030.00717.48
8.1.100.0040.00417.50
8.1.90.0000.00817.39
8.1.80.0040.00417.52
8.1.70.0030.00317.55
8.1.60.0030.00617.70
8.1.50.0040.00417.57
8.1.40.0000.00917.56
8.1.30.0070.00017.72
8.1.20.0000.00817.74
8.1.10.0060.00617.71
8.1.00.0050.00317.54
8.0.300.0060.00319.90
8.0.290.0000.00716.75
8.0.280.0000.00718.39
8.0.270.0090.00016.80
8.0.260.0030.00320.11
8.0.250.0030.00317.02
8.0.240.0030.00317.07
8.0.230.0000.00616.94
8.0.220.0000.00716.86
8.0.210.0000.00816.97
8.0.200.0030.00316.96
8.0.190.0000.00717.02
8.0.180.0040.00416.95
8.0.170.0000.00917.01
8.0.160.0000.00716.94
8.0.150.0000.00816.79
8.0.140.0060.00316.87
8.0.130.0060.00013.35
8.0.120.0040.00416.82
8.0.110.0070.00016.78
8.0.100.0070.00016.98
8.0.90.0070.00017.04
8.0.80.0060.00916.90
8.0.70.0070.00016.87
8.0.60.0070.00017.02
8.0.50.0040.00416.85
8.0.30.0060.01217.33
8.0.20.0090.01017.27
8.0.10.0050.00217.08
8.0.00.0120.00816.82
7.4.330.0020.00215.55
7.4.320.0030.00616.79
7.4.300.0030.00316.65
7.4.290.0030.00316.53
7.4.280.0040.00416.77
7.4.270.0030.00316.70
7.4.260.0030.00313.42
7.4.250.0080.00016.60
7.4.240.0030.00316.60
7.4.230.0030.00316.39
7.4.220.0020.00516.64
7.4.210.0070.01116.79
7.4.200.0070.00016.53
7.4.130.0140.00316.74
7.4.120.0100.01316.53
7.4.110.0130.00616.21
7.4.100.0090.00916.39
7.4.90.0150.00616.38
7.4.80.0000.01816.36
7.4.70.0060.01016.40
7.4.60.0120.01216.52
7.4.50.0130.00516.45
7.4.40.0140.00516.63
7.4.30.0090.00916.47
7.4.20.0140.00616.46
7.4.10.0170.00016.57
7.4.00.0070.01116.58
7.3.330.0000.00816.11
7.3.320.0000.00513.17
7.3.310.0000.00816.12
7.3.300.0000.00716.32
7.3.290.0060.01116.29
7.3.260.0130.01316.64
7.3.230.0140.00416.36
7.3.220.0130.00316.54
7.3.210.0120.00516.13
7.3.200.0080.00816.11
7.3.190.0090.00916.46
7.3.180.0090.01216.33
7.3.170.0080.00816.57
7.3.160.0100.01016.27
7.3.150.0090.00916.45
7.3.140.0120.00616.32
7.3.130.0060.01216.28
7.3.120.0180.00016.58
7.3.110.0090.00916.53
7.3.100.0110.00716.24
7.3.90.0120.00616.36
7.3.80.0120.00416.58
7.3.70.0110.00616.30
7.3.60.0100.00716.32
7.3.50.0080.00816.24
7.3.40.0060.01016.02
7.3.30.0030.01316.45
7.3.20.0000.01816.27
7.3.10.0080.00816.27
7.3.00.0030.01416.43
7.2.340.0090.00916.53
7.2.330.0150.00516.79
7.2.320.0080.01016.73
7.2.310.0070.01116.62
7.2.300.0140.00816.71
7.2.290.0150.00416.77
7.2.280.0070.01116.52
7.2.270.0080.01116.39
7.2.260.0110.00716.66
7.2.250.0080.01216.42
7.2.240.0100.01016.81
7.2.230.0170.00716.41
7.2.220.0100.00916.65
7.2.210.0120.00616.45
7.2.200.0130.00616.36
7.2.190.0130.00516.68
7.2.180.0140.00316.45
7.2.170.0110.00616.69
7.2.160.0090.00916.52
7.2.150.0070.01116.82
7.2.140.0140.00716.68
7.2.130.0140.00416.71
7.2.120.0070.01116.57
7.2.110.0140.00416.71
7.2.100.0120.00816.67
7.2.90.0150.00716.77
7.2.80.0120.00816.60
7.2.70.0150.00316.75
7.2.60.0140.00816.60
7.2.50.0090.00916.67
7.2.40.1280.00716.62
7.2.30.0190.00316.43
7.2.20.0110.01116.53
7.2.10.0150.00316.49
7.2.00.1060.01316.81

preferences:
28.67 ms | 403 KiB | 5 Q