3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = []; preg_match_all("/%\w/", "%s %d", $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.00618.23
8.3.120.0060.00318.79
8.3.110.0040.00420.94
8.3.100.0100.00024.06
8.3.90.0210.00026.77
8.3.80.0040.00416.50
8.3.70.0070.00716.58
8.3.60.0120.00316.50
8.3.50.0070.01418.67
8.3.40.0040.01120.34
8.3.30.0160.00018.75
8.3.20.0080.00024.18
8.3.10.0030.00524.66
8.3.00.0040.00426.16
8.2.250.0040.00416.81
8.2.240.0060.00317.21
8.2.230.0060.00322.58
8.2.220.0040.01237.54
8.2.210.0090.00026.77
8.2.200.0040.00418.42
8.2.190.0120.00618.66
8.2.180.0150.00325.92
8.2.170.0080.00818.96
8.2.160.0150.00022.96
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0020.00526.16
8.2.120.0040.00426.16
8.2.110.0080.00321.03
8.2.100.0040.00817.84
8.2.90.0030.00517.91
8.2.80.0030.00519.03
8.2.70.0000.00817.75
8.2.60.0060.00317.63
8.2.50.0040.00718.05
8.2.40.0040.00417.97
8.2.30.0000.00717.92
8.2.20.0080.00019.29
8.2.10.0000.00717.88
8.2.00.0040.00419.07
8.1.300.0090.00918.23
8.1.290.0100.00030.84
8.1.280.0040.01125.92
8.1.270.0050.00224.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0000.01019.20
8.1.230.0000.01120.97
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0060.00317.35
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0030.00717.62
8.1.160.0040.00419.08
8.1.150.0030.00818.63
8.1.140.0040.00417.56
8.1.130.0030.00318.84
8.1.120.0030.00617.42
8.1.110.0080.00017.52
8.1.100.0040.00417.52
8.1.90.0070.00717.46
8.1.80.0120.00417.41
8.1.70.0070.00717.42
8.1.60.0140.00517.63
8.1.50.0180.00017.46
8.1.40.0140.00417.47
8.1.30.0040.01317.63
8.1.20.0170.00317.62
8.1.10.0130.00517.52
8.1.00.0130.00617.55
8.0.300.0070.00020.16
8.0.290.0000.00816.63
8.0.280.0030.00318.39
8.0.270.0070.00016.82
8.0.260.0030.00318.45
8.0.250.0030.00317.04
8.0.240.0040.00417.04
8.0.230.0030.00716.96
8.0.220.0140.00016.91
8.0.210.0000.01416.80
8.0.200.0100.00517.00
8.0.190.0120.00316.95
8.0.180.0160.00016.85
8.0.170.0080.00816.95
8.0.160.0100.00316.80
8.0.150.0070.00716.78
8.0.140.0110.00416.86
8.0.130.0110.00416.98
8.0.120.0090.00416.94
8.0.110.0110.00416.97
8.0.100.0160.00016.90
8.0.90.0130.00316.97
8.0.80.0080.00716.83
8.0.70.0150.00016.91
8.0.60.0070.00716.86
8.0.50.0100.00316.88
8.0.30.0120.00416.84
8.0.20.0110.00416.95
8.0.10.0040.01316.98
7.4.330.0050.00015.55
7.4.320.0030.00316.63
7.4.300.0100.00316.72
7.4.290.0040.01316.60
7.4.280.0070.00716.69
7.4.270.0100.00516.55
7.4.260.0070.00416.67
7.4.250.0090.00516.70
7.4.240.0110.00316.73
7.4.230.0130.00016.65
7.4.220.0050.01016.59
7.4.210.0150.00016.63
7.4.200.0070.00816.54
7.4.190.0070.00716.63
7.4.180.0070.00716.74
7.4.160.0150.00016.66
7.4.150.0030.01116.76
7.4.140.0090.00516.48
7.4.130.0090.00416.55
7.4.120.0100.00516.57
7.4.110.0110.00316.63
7.4.100.0040.01116.77
7.4.90.0160.00016.75
7.4.80.0150.00016.46
7.4.70.0090.00516.51
7.4.60.0120.00316.61
7.4.50.0090.00616.57
7.4.40.0080.00516.49
7.4.30.0100.00516.52
7.4.20.0120.00316.50
7.4.10.0120.00016.36
7.4.00.0040.00916.49

preferences:
16.93 ms | 406 KiB | 6 Q