3v4l.org

run code in 300+ PHP versions simultaneously
<?php //preg_match( "/^ndg\_keywords\.partial\([a-zA-Z\_\ ]+\)/", "ndg_keywords.partial('a_Imelda Staunton ')", $matches); preg_match(/^ndg\_keywords\.partial\([a-zA-Z\_\ ]+\)/, "ndg_keywords.partial('a_Imelda Staunton ')", $matches); echo $matches[1]; // 1234 ?>

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.240.0230.06319.14
5.4.230.0300.06719.30
5.4.220.0400.06319.15
5.4.210.0270.06319.08
5.4.200.0300.05019.16
5.4.190.0370.06718.94
5.4.180.0270.06318.86
5.4.170.0270.03719.05
5.4.160.0330.07018.93
5.4.150.0300.06319.13
5.4.140.0300.04716.50
5.4.130.0270.03716.35
5.4.120.0230.05316.51
5.4.110.0300.06716.26
5.4.100.0230.06716.54
5.4.90.0230.03716.45
5.4.80.0370.05316.54
5.4.70.0370.06016.44
5.4.60.0330.06016.53
5.4.50.0430.05016.38
5.4.40.0300.05316.51
5.4.30.0270.04016.43
5.4.20.0300.06016.53
5.4.10.0300.07016.53
5.4.00.0230.05315.73
5.3.280.0370.06314.68
5.3.270.0330.06714.46
5.3.260.0230.04714.70
5.3.250.0270.04014.44
5.3.240.0270.05014.47
5.3.230.0370.06314.69
5.3.220.0270.04014.52
5.3.210.0270.03714.44
5.3.200.0330.04314.42
5.3.190.0300.06014.43
5.3.180.0300.07314.47
5.3.170.0200.06014.51
5.3.160.0330.03314.44
5.3.150.0400.06714.59
5.3.140.0230.04714.39
5.3.130.0300.06714.53
5.3.120.0400.06014.39
5.3.110.0270.04014.59
5.3.100.0270.03313.96
5.3.90.0230.07014.05
5.3.80.0230.07713.96
5.3.70.0300.03713.92
5.3.60.0400.05313.95
5.3.50.0270.07313.87
5.3.40.0270.06713.80
5.3.30.0400.06313.71
5.3.20.0370.05013.67
5.3.10.0270.05713.50
5.3.00.0330.06013.59

preferences:
145.68 ms | 1394 KiB | 7 Q