3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match('#0-9+#u', '1')); var_dump(preg_match('#\d+#u', '1')); var_dump(preg_match('#0-9+#', '1')); var_dump(preg_match('#\d+#', '1'));

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.120.0140.00719.77
8.4.110.0130.00718.09
8.4.100.0130.00717.75
8.4.90.0120.00920.94
8.4.80.0090.01119.10
8.4.70.0110.00820.67
8.4.60.0100.00720.43
8.4.50.0050.00518.87
8.4.40.0080.01217.78
8.4.30.0050.00518.82
8.4.20.0160.00319.67
8.4.10.0000.00819.60
8.3.250.0100.00716.65
8.3.240.0120.00716.78
8.3.230.0120.00616.79
8.3.220.0120.00418.89
8.3.210.0120.00716.73
8.3.200.0050.00316.99
8.3.190.0060.00717.09
8.3.180.0040.00617.21
8.3.170.0130.00718.64
8.3.160.0090.00616.85
8.3.150.0200.00017.00
8.3.140.0080.00818.41
8.3.130.0060.00316.59
8.3.120.0050.00320.70
8.3.110.0130.00320.94
8.3.100.0060.00318.68
8.3.90.0040.00418.43
8.3.80.0410.01030.84
8.3.70.0370.01730.84
8.3.60.0370.00630.84
8.3.50.0090.00330.84
8.3.40.0260.00030.84
8.3.30.0170.00730.84
8.3.20.0200.00330.84
8.3.10.0150.00930.84
8.3.00.0180.00830.84
8.2.290.0100.00917.00
8.2.280.0100.01018.38
8.2.270.0110.00717.28
8.2.260.0090.00916.60
8.2.250.0100.01018.84
8.2.240.0000.00917.17
8.2.230.0000.00922.58
8.2.220.0070.00424.06
8.2.210.0080.00026.77
8.2.200.0200.00730.84
8.2.190.0200.00630.84
8.2.180.0200.00630.84
8.2.170.0290.00530.84
8.2.160.0240.00330.84
8.2.150.0220.00730.84
8.2.140.0340.00330.84
8.2.130.0230.02030.84
8.2.120.0410.00330.84
8.2.110.0210.00830.84
8.2.100.0250.00030.84
8.2.90.0200.00630.84
8.2.80.0210.00330.84
8.2.70.0270.00330.84
8.2.60.0180.00930.84
8.2.50.0330.01330.84
8.2.40.0360.00730.84
8.2.30.0330.00730.84
8.2.20.0240.01530.84
8.2.10.0310.00930.84
8.2.00.0390.00930.84
8.1.330.0130.00516.04
8.1.320.0120.00717.88
8.1.310.0070.00316.90
8.1.300.0030.00618.23
8.1.290.0340.01230.84
8.1.280.0370.00730.84
8.1.270.0250.00930.84
8.1.260.0160.01330.84
8.1.250.0120.01230.84
8.1.240.0200.00030.84
8.1.230.0190.00330.84
8.1.220.0130.00830.84
8.1.210.0230.00330.84
8.1.200.0240.00330.84
8.1.190.0220.01630.84
8.1.180.0340.00630.84
8.1.170.0360.00430.84
8.1.160.0280.00330.84
8.1.150.0300.00930.84
8.1.140.0230.01730.84
8.1.130.0330.00830.84
8.1.120.0310.00730.84
8.1.110.0350.00330.84
8.1.100.0340.00730.84
8.1.90.0310.01030.84
8.1.80.0410.00830.84
8.1.70.0300.00730.84
8.1.60.0300.00730.84
8.1.50.0190.01530.84
8.1.40.0250.00330.84
8.1.30.0180.00430.84
8.1.20.0160.00630.84
8.1.10.0220.01130.84
8.1.00.0310.00330.84

preferences:
25.9 ms | 403 KiB | 5 Q