3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tag_value = "hi" $tag_value = preg_replace('/\{(.*?)\}/e', '$values[\\1]', $tag_value); ?>

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.290.0300.03719.12
5.4.280.0370.06719.20
5.4.270.0330.04718.85
5.4.260.0470.04718.99
5.4.250.0300.05019.11
5.4.240.0470.06019.16
5.4.230.0370.03019.25
5.4.220.0270.05019.14
5.4.210.0430.06019.14
5.4.200.0470.04718.96
5.4.190.0300.04319.23
5.4.180.0400.06319.21
5.4.170.0370.04019.23
5.4.160.0300.03718.81
5.4.150.0430.06319.06
5.4.140.0400.06316.48
5.4.130.0370.04716.45
5.4.120.0430.06316.31
5.4.110.0500.05716.46
5.4.100.0400.04716.56
5.4.90.0330.03316.42
5.4.80.0270.03716.54
5.4.70.0330.03316.52
5.4.60.0270.03716.43
5.4.50.0300.03316.38
5.4.40.0400.06316.39
5.4.30.0470.05716.51
5.4.20.0300.03716.21
5.4.10.0300.03316.42
5.4.00.0330.03015.80
5.3.280.0270.04014.50
5.3.270.0370.07014.45
5.3.260.0400.05014.56
5.3.250.0470.05714.55
5.3.240.0300.04714.46
5.3.230.0570.04714.43
5.3.220.0330.07314.52
5.3.210.0430.04314.51
5.3.200.0430.06314.50
5.3.190.0470.06014.51
5.3.180.0330.07014.41
5.3.170.0470.04314.61
5.3.160.0400.05014.43
5.3.150.0400.06714.55
5.3.140.0300.04014.39
5.3.130.0430.06714.39
5.3.120.0300.05714.38
5.3.110.0370.06714.39
5.3.100.0470.06014.07
5.3.90.0400.06313.93
5.3.80.0400.06313.96
5.3.70.0370.04714.07
5.3.60.0330.07014.05
5.3.50.0470.06313.82
5.3.40.0470.05314.04
5.3.30.0430.06313.76
5.3.20.0470.04013.48
5.3.10.0470.06013.75
5.3.00.0330.05013.62
5.2.170.0300.03012.17
5.2.160.0330.05312.17
5.2.150.0400.05312.17
5.2.140.0330.04012.17
5.2.130.0330.04312.17
5.2.120.0330.04012.17
5.2.110.0330.03712.17
5.2.100.0370.05312.17
5.2.90.0300.04012.17
5.2.80.0330.03312.17
5.2.70.0270.03312.17
5.2.60.0230.03012.17
5.2.50.0330.05712.17
5.2.40.0300.04712.17
5.2.30.0200.03012.17
5.2.20.0200.06312.17
5.2.10.0200.06312.17
5.2.00.0270.03312.17
5.1.60.0400.01712.17
5.1.50.0230.04712.17
5.1.40.0330.02312.17
5.1.30.0230.03012.17
5.1.20.0300.04712.17
5.1.10.0230.04312.17
5.1.00.0200.05312.17
5.0.50.0170.03312.17
5.0.40.0170.04312.17
5.0.30.0200.03312.17
5.0.20.0130.03712.17
5.0.10.0230.03312.17
5.0.00.0200.05712.17
4.4.90.0130.02012.17
4.4.80.0070.03312.17
4.4.70.0170.01712.17
4.4.60.0130.02312.17
4.4.50.0170.02012.17
4.4.40.0100.03312.17
4.4.30.0130.03312.17
4.4.20.0100.02712.17
4.4.10.0200.01312.17
4.4.00.0070.05712.17
4.3.110.0130.03012.17
4.3.100.0170.02312.17
4.3.90.0130.03312.17
4.3.80.0100.04012.17
4.3.70.0170.02312.17
4.3.60.0170.01712.17
4.3.50.0130.03312.17
4.3.40.0170.04012.17
4.3.30.0100.03312.17
4.3.20.0070.02712.17
4.3.10.0130.02312.17
4.3.00.0130.02312.17

preferences:
141.66 ms | 1394 KiB | 7 Q