3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(); preg_match('(/^\s?(\w{0,3})$)\|(\s\w{0,3}$)/', "the end", $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.60.0000.01516.50
8.3.50.0070.01017.68
8.3.40.0070.01418.62
8.3.30.0040.01118.54
8.3.20.0000.00721.85
8.3.10.0070.00023.53
8.3.00.0080.00019.54
8.2.180.0150.00318.28
8.2.170.0100.00322.96
8.2.160.0070.00719.05
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00022.34
8.2.120.0080.00026.35
8.2.110.0000.00920.53
8.2.100.0000.01117.73
8.2.90.0080.00019.09
8.2.80.0050.00317.97
8.2.70.0050.00317.34
8.2.60.0050.00317.80
8.2.50.0000.00718.10
8.2.40.0030.00620.55
8.2.30.0000.00819.24
8.2.20.0040.00417.91
8.2.10.0070.00017.91
8.2.00.0070.00018.01
8.1.280.0040.01225.92
8.1.270.0080.00020.51
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0040.00422.22
8.1.230.0110.00017.70
8.1.220.0000.00917.74
8.1.210.0030.00518.77
8.1.200.0050.00517.25
8.1.190.0050.00317.23
8.1.180.0070.00018.10
8.1.170.0000.00818.52
8.1.160.0040.00418.73
8.1.150.0050.00518.86
8.1.140.0050.00219.51
8.1.130.0030.00318.89
8.1.120.0000.00717.39
8.1.110.0050.00217.38
8.1.100.0000.00817.45
8.1.90.0030.00617.41
8.1.80.0040.00417.36
8.1.70.0070.00017.43
8.1.60.0060.00317.49
8.1.50.0040.00417.30
8.1.40.0030.00917.49
8.1.30.0040.00417.41
8.1.20.0040.00417.56
8.1.10.0040.00417.46
8.1.00.0050.00217.41
8.0.300.0000.00818.77
8.0.290.0000.00716.75
8.0.280.0000.00718.37
8.0.270.0000.00717.13
8.0.260.0000.00617.19
8.0.250.0030.00516.95
8.0.240.0080.00316.96
8.0.230.0000.00716.93
8.0.220.0030.00316.88
8.0.210.0060.00016.81
8.0.200.0000.00616.96
8.0.190.0040.00416.88
8.0.180.0030.00716.93
8.0.170.0040.00416.79
8.0.160.0040.00416.93
8.0.150.0090.00016.73
8.0.140.0030.00316.84
8.0.130.0000.00513.27
8.0.120.0000.00816.88
8.0.110.0000.00816.83
8.0.100.0000.00816.75
8.0.90.0070.00016.88
8.0.80.0100.00316.82
8.0.70.0040.00416.68
8.0.60.0000.00716.84
8.0.50.0040.00416.91
8.0.30.0110.00816.96
8.0.20.0110.00817.40
8.0.10.0000.00716.89
8.0.00.0140.00316.67
7.4.330.0040.00015.55
7.4.320.0000.00616.39
7.4.300.0000.00716.44
7.4.290.0030.00316.47
7.4.280.0000.00716.52
7.4.270.0030.00316.46
7.4.260.0030.00316.44
7.4.250.0040.00416.30
7.4.240.0000.00716.39
7.4.230.0000.00716.41
7.4.220.0090.01216.54
7.4.210.0060.01316.40
7.4.200.0070.00016.56
7.4.160.0080.01016.50
7.4.150.0060.01217.40
7.4.140.0120.01017.86
7.4.130.0120.00616.43
7.4.120.0070.01316.47
7.4.110.0090.00916.47
7.4.100.0130.00316.45
7.4.90.0070.01016.48
7.4.80.0100.00719.39
7.4.70.0080.00816.49
7.4.60.0060.01116.43
7.4.50.0060.01016.29
7.4.40.0120.00416.46
7.4.30.0060.01816.50
7.4.00.0000.01614.67
7.3.330.0000.00613.05
7.3.320.0030.00213.18
7.3.310.0030.00316.01
7.3.300.0070.00016.24
7.3.290.0080.00516.15
7.3.280.0090.00816.20
7.3.270.0080.00817.40
7.3.260.0130.00516.31
7.3.250.0200.01116.20
7.3.240.0130.00516.26
7.3.230.0100.00716.51
7.3.210.0070.01016.16
7.3.200.0060.01216.39
7.3.190.0030.01416.16
7.3.180.0030.01316.26
7.3.170.0000.01516.17
7.3.160.0100.00616.14
7.3.10.0120.00316.56
7.3.00.0050.00716.44
7.2.330.0090.00916.29
7.2.320.0220.00016.17
7.2.310.0140.00916.52
7.2.300.0100.00716.52
7.2.290.0060.01216.28
7.2.130.0020.01416.85
7.2.120.0100.00116.76
7.2.110.0020.01216.49
7.2.100.0090.00616.67
7.2.90.0070.01016.53
7.2.80.0030.01216.74
7.2.70.0070.00716.74
7.2.60.0070.00616.76
7.2.50.0040.00916.52
7.2.40.0020.00916.51
7.2.30.0060.00816.42
7.2.20.0060.00616.62
7.2.10.0020.01116.40
7.2.00.0050.00816.63
7.1.250.0100.00415.61
7.1.200.0070.00715.68
7.1.70.0000.00716.77
7.1.60.0170.00317.17
7.1.50.1300.01034.49
7.1.40.0170.01034.25
7.1.30.0770.01734.25
7.1.20.0170.01334.30
7.1.10.0070.01016.33
7.1.00.0030.01016.46
7.0.200.0070.01016.62
7.0.190.0070.00716.50
7.0.180.0070.00715.96
7.0.170.0070.00716.00
7.0.160.0070.00716.04
7.0.150.0030.00716.22
7.0.140.0030.01016.17
7.0.130.0100.00716.42
7.0.120.0100.00716.32
7.0.110.0000.01316.09
7.0.100.0000.01016.08
7.0.90.0000.01316.22
7.0.80.0070.00716.17
7.0.70.0030.00716.08
7.0.60.0030.00715.73
7.0.50.0100.00316.34
7.0.40.0000.01016.29
7.0.30.0030.00716.23
7.0.20.0030.01016.20
7.0.10.0030.01316.17
7.0.00.0000.01016.41

preferences:
56.56 ms | 400 KiB | 5 Q