3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "L’autentica Basilicata Igt Bianco Dolce 2007"; $str = preg_replace_callback('/[\'`’]([aeiou])/', function ($m) { return strtoupper($m[1]); }, $str); var_dump($str);

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)
8.0.0beta10.0110.00716.87
8.0.0alpha30.0090.00916.86
8.0.0alpha20.0130.01316.68
8.0.0alpha10.0060.01116.66
7.4.90.0090.00916.47
7.4.80.0090.00919.39
7.4.70.0040.01216.70
7.4.60.0030.01416.57
7.4.50.0090.00416.75
7.4.40.0030.01216.41
7.4.30.0130.00316.59
7.4.00.0040.00415.12
7.3.210.0100.00716.38
7.3.200.0100.00716.73
7.3.190.0130.00916.43
7.3.180.0070.01016.78
7.3.170.0100.00616.51
7.3.160.0040.01216.72
7.3.120.0040.01114.89
7.2.330.0150.00216.74
7.2.320.0170.00016.96
7.2.310.0070.01716.55
7.2.300.0100.00716.77
7.2.290.0140.00316.84
7.2.00.0060.00919.82
7.1.70.0000.00717.32
7.1.60.0070.01719.40
7.1.50.0070.00717.15
7.1.00.0070.07022.31
7.0.200.0330.00714.77
7.0.140.0030.07321.98
7.0.120.0030.07022.11
7.0.60.0100.07721.88
7.0.50.0000.05017.75
7.0.40.0000.07019.98
7.0.30.0230.05320.07
7.0.20.0330.08720.18
7.0.10.0030.09320.27
7.0.00.0000.04720.24
5.6.280.0100.07020.82
5.6.210.0030.04020.55
5.6.200.0030.04018.13
5.6.190.0100.04020.55
5.6.180.0230.03320.48
5.6.170.0300.07320.55
5.6.160.0130.08320.57
5.6.150.0030.05718.22
5.6.140.0030.08018.19
5.6.130.0130.07718.23
5.6.120.0070.06720.90
5.6.110.0030.09321.03
5.6.100.0070.05721.08
5.6.90.0100.05720.99
5.6.80.0000.04320.41
5.5.350.0230.06320.47
5.5.340.0130.07317.95
5.5.330.0100.04020.41
5.5.320.0170.04720.31
5.5.310.0370.06320.32
5.5.300.0000.04317.97
5.5.290.0030.05318.10
5.5.280.0070.07320.77
5.5.270.0130.04320.88
5.5.260.0170.07320.86
5.5.250.0100.07320.80
5.5.240.0170.06720.28
5.4.450.0030.04019.18
5.4.440.0030.06719.57
5.4.430.0200.03719.18
5.4.420.0030.08319.47
5.4.410.0000.04019.06
5.4.400.0070.03318.93
5.4.390.0000.04019.14
5.4.380.0030.03718.88
5.4.370.0030.03718.98
5.4.360.0070.03318.85
5.4.350.0070.03319.15
5.4.340.0000.04018.85
5.4.320.0070.03319.07
5.4.310.0070.03319.24
5.4.300.0030.03719.14
5.4.290.0030.03719.14
5.4.280.0030.04319.07
5.4.270.0070.06718.87
5.4.260.0100.03019.23
5.4.250.0030.03718.94
5.4.240.0100.07018.84
5.4.230.0000.04019.00
5.4.220.0130.06018.85
5.4.210.0070.04719.07
5.4.200.0170.03019.14
5.4.190.0030.03719.19
5.4.180.0030.04019.15
5.4.170.0070.04019.23
5.4.160.0070.04019.18
5.4.150.0070.03719.06
5.4.140.0030.04316.34
5.4.130.0100.03316.30
5.4.120.0070.03716.37
5.4.110.0230.03716.40
5.4.100.0030.06316.37
5.4.90.0070.05316.28
5.4.80.0100.06316.32
5.4.70.0000.08016.36
5.4.60.0030.03316.37
5.4.50.0070.04316.47
5.4.40.0000.06016.26
5.4.30.0070.07316.34
5.4.20.0070.07016.38
5.4.10.0130.03716.43
5.4.00.0170.05015.94
5.3.290.0030.03714.68
5.3.280.0070.07714.64
5.3.270.0030.05314.67
5.3.260.0100.04314.64
5.3.250.0100.03714.76
5.3.240.0030.04014.60
5.3.230.0030.03714.67
5.3.220.0130.05014.48
5.3.210.0000.05014.48
5.3.200.0100.07314.59
5.3.190.0030.05014.65
5.3.180.0100.07314.70
5.3.170.0070.07314.59
5.3.160.0030.04314.60
5.3.150.0100.07714.63
5.3.140.0100.07014.57
5.3.130.0000.08014.60
5.3.120.0000.06314.55
5.3.110.0070.09014.54
5.3.100.0070.03714.04
5.3.90.0070.04014.18
5.3.80.0070.04714.00
5.3.70.0070.03714.04
5.3.60.0070.07714.08
5.3.50.0070.06714.00
5.3.40.0170.06014.00
5.3.30.0030.03713.96
5.3.20.0100.04313.65
5.3.10.0070.07313.73
5.3.00.0070.04713.80
5.2.170.0100.03711.23
5.2.160.0130.04711.13
5.2.150.0170.02311.04
5.2.140.0030.03011.11
5.2.130.0030.06311.09
5.2.120.0100.05711.11
5.2.110.0070.06011.18
5.2.100.0030.06011.00
5.2.90.0070.06310.96
5.2.80.0070.06310.98
5.2.70.0030.03311.02
5.2.60.0000.04310.86
5.2.50.0070.03711.02
5.2.40.0070.02311.14
5.2.30.0000.05710.85
5.2.20.0030.04710.93
5.2.10.0030.06010.85
5.2.00.0030.05310.72
5.1.60.0030.0509.97
5.1.50.0170.04010.05
5.1.40.0000.0609.98
5.1.30.0070.05710.42
5.1.20.0030.04710.34
5.1.10.0000.05010.08
5.1.00.0070.05310.23
5.0.50.0070.0438.45
5.0.40.0070.0438.39
5.0.30.0100.0438.18
5.0.20.0000.0478.23
5.0.10.0030.0478.09
5.0.00.0070.0578.18
4.4.90.0000.0277.70
4.4.80.0000.0207.70
4.4.70.0030.0277.70
4.4.60.0030.0237.70
4.4.50.0070.0337.70
4.4.40.0030.0237.70
4.4.30.0030.0137.70
4.4.20.0070.0277.70
4.4.10.0030.0277.70
4.4.00.0030.0337.70
4.3.110.0070.0177.70
4.3.100.0000.0207.70
4.3.90.0000.0377.70
4.3.80.0030.0537.70
4.3.70.0000.0337.70
4.3.60.0000.0277.70
4.3.50.0070.0337.70
4.3.40.0030.0437.70
4.3.30.0000.0337.70
4.3.20.0030.0337.70
4.3.10.0070.0207.70
4.3.00.0000.0377.70