3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'I am [pitch = "high"]Rudratosh Shastri[endpitch]. what is your name ? how are you? sorry [pause ="3000"] i can not hear you ?[rate="-70.00%"] i still can\'t hear you[endrate] ? [rate="+50.00%"]why i can\'t hear you[endrate] ?'; $text = preg_replace('/\[pause\h*=\h*"(\d+)"]/', '<break time="$1ms"/>', $text); echo $text;

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.5.10.0110.00616.55
8.5.00.0140.00820.32
8.4.160.0130.00825.61
8.4.150.0020.00014.05
8.4.140.0090.01117.94
8.4.130.0140.00817.93
8.4.120.0130.00622.32
8.4.110.0140.00620.61
8.4.100.0140.00718.05
8.4.90.0100.01117.76
8.4.80.0050.00418.20
8.4.70.0120.00819.84
8.4.60.0070.00317.77
8.4.50.0050.00418.57
8.4.40.0130.00017.74
8.4.30.0050.00317.69
8.4.20.0070.01320.44
8.4.10.0040.00417.57
8.3.280.0110.01018.38
8.3.270.0090.01316.50
8.3.260.0100.00916.55
8.3.250.0120.00618.82
8.3.240.0120.00716.55
8.3.230.0130.00716.59
8.3.220.0090.00418.75
8.3.210.0070.00416.70
8.3.200.0100.00916.70
8.3.190.0140.00417.12
8.3.180.0110.00719.11
8.3.170.0090.00920.39
8.3.160.0070.01417.04
8.3.150.0090.00916.79
8.3.140.0000.00818.88
8.3.130.0080.00018.30
8.3.120.0040.00420.63
8.3.110.0060.00320.94
8.3.100.0120.00616.47
8.3.90.0050.00318.46
8.3.80.0090.00018.15
8.3.70.0000.01416.88
8.3.60.0120.00418.31
8.3.50.0090.00618.33
8.3.40.0140.00418.98
8.3.30.0090.00618.83
8.3.20.0030.00519.39
8.3.10.0040.00421.73
8.3.00.0060.00320.79
8.2.290.0090.01020.21
8.2.280.0120.00716.86
8.2.270.0040.01516.71
8.2.260.0090.00616.73
8.2.250.0040.00417.06
8.2.240.0060.01316.95
8.2.230.0060.00322.58
8.2.220.0000.01037.54
8.2.210.0060.00326.77
8.2.200.0040.00418.29
8.2.190.0090.00616.58
8.2.180.0100.01018.66
8.2.170.0070.01122.96
8.2.160.0150.00422.09
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00419.89
8.2.120.0000.00726.35
8.2.110.0030.00721.12
8.2.100.0040.00817.71
8.2.90.0050.00317.97
8.2.80.0030.00617.97
8.2.70.0000.00817.93
8.2.60.0000.00818.22
8.2.50.0080.00018.10
8.2.40.0030.00619.34
8.2.30.0000.00719.36
8.2.20.0040.00418.08
8.2.10.0070.00018.10
8.2.00.0080.00017.93
8.1.330.0060.00322.11
8.1.320.0110.00916.32
8.1.310.0070.00316.41
8.1.300.0130.00620.06
8.1.290.0000.00918.88
8.1.280.0070.01525.92
8.1.270.0040.00420.68
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0100.00317.58
8.1.230.0080.00321.04
8.1.220.0000.00717.79
8.1.210.0000.00818.84
8.1.200.0040.00417.35
8.1.190.0050.00317.36
8.1.180.0040.00418.10
8.1.170.0030.00518.77
8.1.160.0040.00418.91
8.1.150.0040.00418.79
8.1.140.0000.00822.21
8.1.130.0000.00620.28
8.1.120.0050.00217.57
8.1.110.0000.00817.53
8.1.100.0090.00317.53
8.1.90.0030.00817.53
8.1.80.0040.00417.45
8.1.70.0000.00717.53
8.1.60.0090.00317.65
8.1.50.0040.00417.53
8.1.40.0040.00417.59
8.1.30.0040.00417.57
8.1.20.0000.01017.67
8.1.10.0030.00617.60
8.1.00.0070.00017.46
8.0.300.0040.00419.73
8.0.290.0040.00416.75
8.0.280.0040.00418.37
8.0.270.0000.00716.84
8.0.260.0060.00018.46
8.0.250.0030.00317.03
8.0.240.0070.00017.09
8.0.230.0070.00017.04
8.0.220.0040.00416.95
8.0.210.0000.00716.84
8.0.200.0000.00617.03
8.0.190.0000.00916.92
8.0.180.0000.00717.04
8.0.170.0060.00316.99
8.0.160.0070.00016.97
8.0.150.0080.00316.89
8.0.140.0000.00716.97
8.0.130.0000.00613.43
8.0.120.0080.00016.97
8.0.110.0000.00716.95
8.0.100.0000.00716.86
8.0.90.0000.00716.93
8.0.80.0100.00616.95
8.0.70.0000.00816.97
8.0.60.0000.00716.87
8.0.50.0040.00417.08
8.0.30.0050.01117.19
8.0.20.0100.00917.44
8.0.10.0040.00417.09
8.0.00.0100.00816.94
7.4.330.0000.00515.55
7.4.320.0030.00316.79
7.4.300.0000.00816.79
7.4.290.0000.00716.66
7.4.280.0070.00316.63
7.4.270.0050.00216.75
7.4.260.0000.00716.73
7.4.250.0080.00016.68
7.4.240.0050.00216.68
7.4.230.0000.00716.55
7.4.220.0030.00316.73
7.4.210.0060.00716.75
7.4.200.0040.00416.63
7.4.160.0110.00516.57
7.4.140.0110.00817.86
7.4.130.0030.01416.43
7.4.120.0110.00716.69
7.4.110.0060.01416.56
7.4.100.0100.00616.73
7.4.90.0090.00816.70
7.4.80.0100.01519.39
7.4.70.0040.01516.70
7.4.60.0060.00916.59
7.4.50.0090.00616.64
7.4.40.0090.00616.85
7.4.10.0100.01015.05
7.4.00.0060.01215.15
7.3.330.0020.00213.11
7.3.320.0030.00313.27
7.3.310.0030.00616.41
7.3.300.0030.00316.21
7.3.290.0040.00416.31
7.3.280.0060.00916.34
7.3.260.0110.00816.56
7.3.240.0080.01116.49
7.3.230.0120.00616.63
7.3.210.0190.00016.31
7.3.200.0110.00616.72
7.3.190.0160.00316.64
7.3.180.0140.00316.53
7.3.170.0100.00716.35
7.3.160.0140.00316.64
7.3.130.0090.00814.92
7.3.120.0030.01414.82
7.3.110.0070.01314.89
7.3.100.0060.00615.19
7.3.90.0080.00815.02
7.3.80.0040.01115.16
7.3.70.0000.01114.86
7.3.60.0090.00914.95
7.3.50.0120.00614.95
7.3.40.0070.00314.80
7.3.30.0080.00614.99
7.3.20.0070.00716.74
7.3.10.0100.00416.66
7.3.00.0080.00816.74
7.2.330.0110.01116.66
7.2.320.0100.00716.64
7.2.310.0120.00616.66
7.2.300.0080.00816.83
7.2.290.0090.00916.75
7.2.260.0090.00615.24
7.2.250.0150.00415.24
7.2.240.0070.00714.95
7.2.230.0080.01115.18
7.2.220.0120.00615.12
7.2.210.0040.00815.10
7.2.200.0000.01214.96
7.2.190.0000.01215.11
7.2.180.0000.01015.25
7.2.170.0000.01314.95
7.2.160.0030.00915.12
7.2.150.0070.01117.20
7.2.140.0040.01416.76
7.2.130.0030.00816.99
7.2.120.0050.01016.89
7.2.110.0290.00616.31
7.2.100.0210.00816.31
7.2.90.0130.00916.28
7.2.80.0330.00816.29
7.2.70.0190.01316.39
7.2.60.0180.00916.26
7.2.50.0160.00416.37
7.2.40.0190.00816.24
7.2.30.0110.00516.41
7.2.20.0120.00116.29
7.2.10.0110.00516.35
7.2.00.0080.00716.25
7.1.330.0040.01115.90
7.1.320.0070.01116.07
7.1.310.0090.00315.98
7.1.300.0090.00615.91
7.1.290.0030.01016.01
7.1.280.0030.01016.11
7.1.270.0030.01015.69
7.1.260.0080.00315.75
7.1.250.0080.00415.94
7.1.240.0070.00416.11
7.1.230.0320.00815.03
7.1.220.0330.00614.93
7.1.210.0040.01314.86
7.1.200.0090.00714.86
7.1.190.0140.00815.01
7.1.180.0100.00514.97
7.1.170.0210.00414.76
7.1.160.0060.01014.96
7.1.150.0080.00515.06
7.1.140.0230.00414.96
7.1.130.0200.00315.03
7.1.120.0150.00614.92
7.1.110.0140.00515.07
7.1.100.0050.01314.77
7.1.90.0020.01314.88
7.1.80.0300.00815.00
7.1.70.0090.00814.91
7.1.60.0410.00723.91
7.1.50.0430.01123.99
7.1.40.0240.01223.93
7.1.30.0190.00524.01
7.1.20.0170.01123.83
7.1.10.0030.01114.87
7.1.00.0060.00914.92
7.0.330.0080.00415.75
7.0.320.0030.01015.54
7.0.310.0040.01215.84
7.0.300.0110.00415.57
7.0.290.0090.00315.50
7.0.280.0000.01215.58
7.0.270.0030.01215.18
7.0.260.0100.00315.54
7.0.250.0070.00715.41
7.0.240.0040.00415.74
7.0.230.0030.01015.66
7.0.220.0040.00415.72
7.0.210.0090.00615.62
7.0.200.0030.00615.31
7.0.190.0100.01015.38
7.0.180.0060.01215.45
7.0.170.0070.00715.52
7.0.160.0090.00615.72
7.0.150.0130.00015.59
7.0.140.0040.00415.61
7.0.130.0090.00315.42
7.0.120.0040.01115.61
7.0.110.0040.00715.48
7.0.100.0040.00715.41
7.0.90.0060.00915.76
7.0.80.0030.01015.46
7.0.70.0060.00315.66
7.0.60.0070.00715.64
7.0.50.0080.00015.75
7.0.40.0100.00313.51
7.0.30.0070.00713.56
7.0.20.0100.00713.57
7.0.10.0040.01113.86
7.0.00.0070.00313.75
5.6.400.0080.00414.25
5.6.390.0110.00414.47
5.6.380.0070.00814.16
5.6.370.0040.01114.25
5.6.360.0040.01114.61
5.6.350.0050.00514.40
5.6.340.0060.00914.52
5.6.330.0060.00314.46
5.6.320.0100.00314.53
5.6.310.0060.00613.89
5.6.300.0150.00014.57
5.6.290.0070.00714.27
5.6.280.0000.01614.25
5.6.270.0030.01014.38
5.6.260.0030.00614.07
5.6.250.0070.00714.23
5.6.240.0070.00714.42
5.6.230.0080.00314.35
5.6.220.0070.01014.33
5.6.210.0040.01114.12
5.6.200.0030.00514.25
5.6.190.0040.00714.44
5.6.180.0040.00814.28
5.6.170.0000.01514.39
5.6.160.0070.01014.18
5.6.150.0090.00314.35
5.6.140.0040.00814.09
5.6.130.0040.00414.57
5.6.120.0070.01114.36
5.6.110.0090.00614.21
5.6.100.0000.01614.11
5.6.90.0080.00014.39
5.6.80.0070.00314.52
5.6.70.0060.00914.36
5.6.60.0030.00914.20
5.6.50.0090.00914.31
5.6.40.0090.00914.48
5.6.30.0030.01314.57
5.6.20.0090.00614.11
5.6.10.0030.01414.26
5.6.00.0060.00914.21

preferences:
168.65 ms | 403 KiB | 5 Q