3v4l.org

run code in 300+ PHP versions simultaneously
<?php $title = 'youtube_embed_code'; $title = preg_replace("/_/", " ", $title); $title = ucfirst($title) echo $title;

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.270.0230.07018.74
5.4.260.0100.06318.89
5.4.250.0030.06318.98
5.4.240.0130.07018.99
5.4.230.0100.06018.83
5.4.220.0100.07018.97
5.4.210.0070.08718.74
5.4.200.0070.05718.95
5.4.190.0130.06718.74
5.4.180.0100.05018.78
5.4.170.0200.06018.94
5.4.160.0070.07718.94
5.4.150.0070.06718.77
5.4.140.0100.07016.34
5.4.130.0000.06016.43
5.4.120.0130.05016.47
5.4.110.0070.05016.41
5.4.100.0100.06716.65
5.4.90.0070.05016.48
5.4.80.0170.04316.39
5.4.70.0100.06016.39
5.4.60.0070.05316.53
5.4.50.0070.04716.59
5.4.40.0070.05316.50
5.4.30.0100.06716.38
5.4.20.0100.06716.31
5.4.10.0030.05716.48
5.4.00.0170.06015.78
5.3.280.0170.05714.37
5.3.270.0170.04314.63
5.3.260.0130.06014.63
5.3.250.0070.06314.46
5.3.240.0130.05014.66
5.3.230.0130.07014.48
5.3.220.0070.07714.58
5.3.210.0130.06714.44
5.3.200.0200.05314.57
5.3.190.0130.06714.27
5.3.180.0070.05714.66
5.3.170.0100.07314.58
5.3.160.0100.05014.39
5.3.150.0070.06714.58
5.3.140.0030.05714.39
5.3.130.0130.07714.46
5.3.120.0100.06014.55
5.3.110.0170.07014.47
5.3.100.0100.04714.08
5.3.90.0130.07313.98
5.3.80.0170.05013.91
5.3.70.0170.04013.79
5.3.60.0070.06714.15
5.3.50.0030.07014.10
5.3.40.0270.05313.87
5.3.30.0030.05313.78
5.3.20.0130.05313.73
5.3.10.0130.06313.64
5.3.00.0070.06313.68
5.2.170.0000.07311.07
5.2.160.0070.03711.07
5.2.150.0000.04711.25
5.2.140.0100.03711.04
5.2.130.0000.05011.21
5.2.120.0100.06311.10
5.2.110.0170.04310.86
5.2.100.0100.04711.13
5.2.90.0100.05010.93
5.2.80.0070.05711.08
5.2.70.0000.04711.20
5.2.60.0070.04310.99
5.2.50.0000.05010.93
5.2.40.0070.05311.01
5.2.30.0070.05310.90
5.2.20.0070.04711.07
5.2.10.0070.05011.07
5.2.00.0100.04010.63
5.1.60.0030.03310.08
5.1.50.0130.03310.03
5.1.40.0100.0479.89
5.1.30.0070.04010.40
5.1.20.0000.04010.25
5.1.10.0070.03710.00
5.1.00.0030.04010.09
5.0.50.0000.0308.59
5.0.40.0100.0338.64
5.0.30.0030.0608.16
5.0.20.0030.0278.16
5.0.10.0070.0278.26
5.0.00.0030.0478.20
4.4.90.0030.0307.19
4.4.80.0070.0177.19
4.4.70.0030.0237.19
4.4.60.0070.0177.19
4.4.50.0130.0177.19
4.4.40.0070.0437.19
4.4.30.0030.0277.19
4.4.20.0030.0307.19
4.4.10.0100.0177.19
4.4.00.0000.0377.19
4.3.110.0030.0307.19
4.3.100.0070.0177.19
4.3.90.0070.0277.19
4.3.80.0000.0377.19
4.3.70.0030.0307.19
4.3.60.0030.0307.19
4.3.50.0000.0307.19
4.3.40.0070.0277.19
4.3.30.0000.0307.19
4.3.20.0070.0207.19
4.3.10.0030.0237.19
4.3.00.0070.0236.99

preferences:
139.79 ms | 1386 KiB | 7 Q