3v4l.org

run code in 300+ PHP versions simultaneously
<?php Find the output of the following:- <?php $a = "<tt>some</tt><b>html</b>"; preg_match("/<\w?>(\w*?)<\/\w?>/",$a,$b); print_r($b); ?>

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.6.90.0030.07321.09
5.6.80.0030.08720.50
5.5.250.0100.07320.58
5.5.240.0100.06720.27
5.4.410.0300.07019.35
5.4.400.0270.05319.15
5.4.390.0400.06719.32
5.4.380.0230.05019.04
5.4.370.0270.04318.94
5.4.360.0330.06719.25
5.4.350.0330.05318.87
5.4.340.0330.05019.15
5.4.320.0230.08019.22
5.4.310.0330.05318.88
5.4.300.0230.06019.22
5.4.290.0300.06719.24
5.4.280.0270.06019.08
5.4.270.0230.05018.85
5.4.260.0270.07318.99
5.4.250.0370.03719.09
5.4.240.0330.03719.05
5.4.230.0170.04319.19
5.4.220.0300.07019.22
5.4.210.0330.04719.19
5.4.200.0270.04319.07
5.4.190.0330.06718.86
5.4.180.0330.04318.97
5.4.170.0270.07718.94
5.4.160.0300.07318.93
5.4.150.0330.04319.29
5.4.140.0400.05716.38
5.4.130.0230.05716.50
5.4.120.0200.04716.38
5.4.110.0330.06716.32
5.4.100.0200.05016.59
5.4.90.0270.05316.56
5.4.80.0430.05716.45
5.4.70.0270.03316.54
5.4.60.0270.06016.52
5.4.50.0200.04316.53
5.4.40.0300.07016.53
5.4.30.0270.04016.43
5.4.20.0300.07016.53
5.4.10.0270.06016.50
5.4.00.0300.03015.80
5.3.290.0400.06314.61
5.3.280.0300.07014.55
5.3.270.0300.07014.51
5.3.260.0230.04714.44
5.3.250.0370.06014.46
5.3.240.0330.06014.55
5.3.230.0330.05014.45
5.3.220.0330.05314.47
5.3.210.0270.04014.43
5.3.200.0330.06714.51
5.3.190.0330.04014.52
5.3.180.0200.05014.47
5.3.170.0300.04314.47
5.3.160.0300.04714.51
5.3.150.0370.03714.50
5.3.140.0300.06714.51
5.3.130.0300.04314.41
5.3.120.0300.04314.60
5.3.110.0330.05314.49
5.3.100.0270.03714.25
5.3.90.0230.03714.25
5.3.80.0270.04314.25
5.3.70.0270.07314.25
5.3.60.0270.07714.25
5.3.50.0300.05714.25
5.3.40.0400.06014.25
5.3.30.0300.06314.25
5.3.20.0270.06714.25
5.3.10.0330.06014.25
5.3.00.0400.03714.25
5.2.170.0270.05314.25
5.2.160.0200.06314.25
5.2.150.0200.03314.25
5.2.140.0400.04714.25
5.2.130.0230.04714.25
5.2.120.0330.04714.25
5.2.110.0330.03014.25
5.2.100.0270.05314.25
5.2.90.0270.03314.25
5.2.80.0270.05014.25
5.2.70.0300.05714.25
5.2.60.0230.04014.25
5.2.50.0270.06014.25
5.2.40.0130.05714.25
5.2.30.0100.04314.25
5.2.20.0230.03314.25
5.2.10.0270.05314.25
5.2.00.0200.05314.25
5.1.60.0330.03314.25
5.1.50.0230.05014.25
5.1.40.0270.03714.25
5.1.30.0170.04714.25
5.1.20.0230.04714.25
5.1.10.0130.04714.25
5.1.00.0130.03714.25
5.0.50.0230.02014.25
5.0.40.0130.03714.25
5.0.30.0130.06014.25
5.0.20.0070.03014.25
5.0.10.0030.02314.25
5.0.00.0100.02714.25
4.4.90.0100.02714.25
4.4.80.0100.03314.25
4.4.70.0070.02714.25
4.4.60.0130.03314.25
4.4.50.0100.03714.25
4.4.40.0170.03314.25
4.4.30.0100.03714.25
4.4.20.0130.03314.25
4.4.10.0100.01714.25
4.4.00.0070.05714.25
4.3.110.0100.02014.25
4.3.100.0100.03014.25
4.3.90.0100.01314.25
4.3.80.0100.02014.25
4.3.70.0030.01714.25
4.3.60.0070.01314.25
4.3.50.0070.01714.25
4.3.40.0100.02014.25
4.3.30.0070.01314.25
4.3.20.0030.01714.25
4.3.10.0030.01314.25
4.3.00.0000.01714.25

preferences:
146.33 ms | 1394 KiB | 7 Q