3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string "reports/683868-derger-gergewrger.html"; $pattern = "/(?:(\d+)\/|)reports\/(\d+)-([\w-]+).html/Axu"; preg_match($pattern, $string, $m); var_dump($m);

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)
5.4.390.0370.05718.74
5.4.380.0230.07318.59
5.4.370.0230.05018.61
5.4.360.0170.06018.72
5.4.350.0170.07018.75
5.4.340.0300.06718.63
5.4.320.0370.04718.58
5.4.310.0230.05018.50
5.4.300.0370.04018.78
5.4.290.0170.05718.43
5.4.280.0270.05718.74
5.4.270.0130.06018.68
5.4.260.0100.06318.68
5.4.250.0170.06018.63
5.4.240.0230.05318.62
5.4.230.0270.06718.75
5.4.220.0230.05318.72
5.4.210.0200.05018.73
5.4.200.0300.05316.61
5.4.190.0200.05318.50
5.4.180.0270.04718.51
5.4.170.0230.05318.74
5.4.160.0230.05018.78
5.4.150.0170.06018.50
5.4.140.0270.05316.51
5.4.130.0370.05316.21
5.4.120.0300.06316.31
5.4.110.0270.06316.23
5.4.100.0270.06316.27
5.4.90.0100.06316.27
5.4.80.0300.05716.27
5.4.70.0230.04716.29
5.4.60.0170.05316.20
5.4.50.0130.05316.39
5.4.40.0270.06716.22
5.4.30.0230.06716.09
5.4.20.0330.04316.27
5.4.10.0330.06316.21
5.4.00.0230.04715.73
5.3.290.0200.07314.57
5.3.280.0100.06314.66
5.3.270.0170.05714.52
5.3.260.0330.04014.64
5.3.250.0170.05714.52
5.3.240.0200.05014.55
5.3.230.0170.05714.59
5.3.220.0300.05314.57
5.3.210.0230.05714.57
5.3.200.0170.05314.56
5.3.190.0270.04714.64
5.3.180.0270.04714.56
5.3.170.0170.05314.55
5.3.160.0230.05014.49
5.3.150.0100.06314.65
5.3.140.0170.05714.54
5.3.130.0200.05314.45
5.3.120.0130.07014.54
5.3.110.0170.05714.64
5.3.100.0300.06313.95
5.3.90.0300.06314.04
5.3.80.0130.06313.98
5.3.70.0300.04014.00
5.3.60.0230.04713.95
5.3.50.0230.04713.93
5.3.40.0230.04713.88
5.3.30.0230.04313.85
5.3.20.0270.04013.68
5.3.10.0170.05313.57
5.3.00.0130.05313.57
5.2.170.0100.04711.28
5.2.160.0170.04711.13
5.2.150.0170.04011.18
5.2.140.0200.03711.07
5.2.130.0100.04711.25
5.2.120.0030.05011.10
5.2.110.0230.03011.01
5.2.100.0230.03011.14
5.2.90.0270.05311.26
5.2.80.0270.03311.08
5.2.70.0230.04011.04
5.2.60.0100.05011.08
5.2.50.0200.04011.07
5.2.40.0200.03710.98
5.2.30.0100.04710.97
5.2.20.0200.03310.96
5.2.10.0170.04310.89
5.2.00.0130.03710.77
5.1.60.0200.03310.06
5.1.50.0130.03310.09
5.1.40.0170.0409.98
5.1.30.0100.03710.45
5.1.20.0130.03710.45
5.1.10.0200.02710.16
5.1.00.0200.02710.10
5.0.50.0130.0238.53
5.0.40.0070.0278.50
5.0.30.0170.0338.23
5.0.20.0070.0338.30
5.0.10.0070.0308.27
5.0.00.0000.0508.33
4.4.90.0070.0235.82
4.4.80.0070.0205.90
4.4.70.0030.0275.84
4.4.60.0030.0235.90
4.4.50.0170.0135.86
4.4.40.0070.0375.86
4.4.30.0130.0135.87
4.4.20.0130.0175.97
4.4.10.0070.0235.91
4.4.00.0030.0375.90
4.3.110.0030.0275.79
4.3.100.0100.0175.82
4.3.90.0030.0235.82
4.3.80.0100.0305.79
4.3.70.0100.0175.84
4.3.60.0070.0205.86
4.3.50.0100.0175.81
4.3.40.0030.0375.80
4.3.30.0070.0234.55
4.3.20.0030.0234.61
4.3.10.0030.0204.56
4.3.00.0000.0277.15

preferences:
156.29 ms | 1394 KiB | 7 Q