3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo(preg_match('/^(\d-\s)+$/', '1-2-3'));

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.20.0100.01021.01
8.4.10.0360.01317.62
8.3.150.0000.01916.91
8.3.140.0300.01716.77
8.3.130.0330.00816.27
8.3.120.0340.00716.50
8.3.110.0450.00416.39
8.3.100.0360.01116.45
8.3.90.0360.01116.62
8.3.80.0340.00716.63
8.3.70.0360.00716.65
8.3.60.0390.00716.43
8.3.50.0390.00616.24
8.3.40.0300.00917.70
8.3.30.0220.01117.58
8.3.20.0340.00317.58
8.3.10.0300.00717.52
8.3.00.0040.01817.61
8.2.270.0140.00316.65
8.2.260.0320.00716.25
8.2.250.0330.00616.69
8.2.240.0290.01616.64
8.2.230.0360.01016.31
8.2.220.0330.00716.54
8.2.210.0290.01016.11
8.2.200.0320.00616.47
8.2.190.0290.01016.51
8.2.180.0340.00316.37
8.2.170.0370.00917.82
8.2.160.0370.00317.52
8.2.150.0350.00617.68
8.2.140.0390.00317.57
8.2.130.0420.00017.63
8.2.120.0270.01417.71
8.2.110.0370.00317.47
8.2.100.0300.01317.54
8.2.90.0190.01317.62
8.2.80.0320.00717.60
8.2.70.0310.00417.49
8.2.60.0280.00717.77
8.2.50.0200.01617.38
8.2.40.0360.00717.48
8.2.30.0320.00617.33
8.2.20.0260.01117.51
8.2.10.0270.01017.21
8.2.00.0270.01017.40

preferences:
28.16 ms | 402 KiB | 5 Q