3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "544-444-4444"; $text = str_replace('-', '', $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.3.60.0070.00718.16
8.3.50.0070.00716.38
8.3.40.0090.00618.70
8.3.30.0070.00718.47
8.3.20.0030.00520.34
8.3.10.0050.00323.52
8.3.00.0080.00020.96
8.2.180.0070.01118.07
8.2.170.0140.00322.96
8.2.160.0070.00722.16
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0070.00022.25
8.2.120.0040.00426.35
8.2.110.0060.00320.35
8.2.100.0040.00717.72
8.2.90.0000.00819.08
8.2.80.0040.00417.97
8.2.70.0080.00417.50
8.2.60.0060.00317.90
8.2.50.0000.00818.10
8.2.40.0040.00422.13
8.2.30.0060.00319.34
8.2.20.0000.00718.09
8.2.10.0040.00417.99
8.2.00.0040.00417.98
8.1.280.0100.00725.92
8.1.270.0040.00422.19
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.17
8.1.230.0040.00819.16
8.1.220.0050.00317.79
8.1.210.0030.00818.77
8.1.200.0090.00717.25
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0040.00418.97
8.1.150.0080.00020.66
8.1.140.0040.00419.45
8.1.130.0000.00718.73
8.1.120.0070.00017.36
8.1.110.0040.00417.38
8.1.100.0040.00417.29
8.1.90.0040.00417.41
8.1.80.0030.00617.39
8.1.70.0070.00017.45
8.1.60.0040.00417.40
8.1.50.0040.00417.49
8.1.40.0030.00517.40
8.1.30.0000.00717.49
8.1.20.0070.00717.64
8.1.10.0000.00717.50
8.1.00.0040.00417.33
8.0.300.0040.00419.77
8.0.290.0040.00416.75
8.0.280.0030.00318.38
8.0.270.0070.00017.15
8.0.260.0030.00316.85
8.0.250.0030.00316.82
8.0.240.0020.00516.86
8.0.230.0070.00016.81
8.0.220.0000.00716.80
8.0.210.0030.00316.80
8.0.200.0070.00016.90
8.0.190.0030.00616.77
8.0.180.0000.00816.87
8.0.170.0000.00716.75
8.0.160.0070.00016.80
8.0.150.0030.00516.71
8.0.140.0030.00316.68
8.0.130.0000.00513.24
8.0.120.0040.00416.81
8.0.110.0040.00416.71
8.0.100.0000.00716.80
8.0.90.0000.00716.73
8.0.80.0050.01116.79
8.0.70.0000.00716.71
8.0.60.0070.00016.85
8.0.50.0030.00516.77
8.0.30.0090.01016.80
8.0.20.0120.00717.40
8.0.10.0000.00817.06
8.0.00.0060.01116.77
7.4.330.0000.00415.55
7.4.320.0000.00616.40
7.4.300.0030.00316.55
7.4.290.0030.00616.46
7.4.280.0040.00416.44
7.4.270.0050.00316.48
7.4.260.0030.00313.18
7.4.250.0030.00316.39
7.4.240.0030.00316.39
7.4.230.0000.00616.29
7.4.220.0110.00316.36
7.4.210.0080.00816.50
7.4.200.0000.00716.49
7.4.160.0040.01016.41
7.4.150.0090.00917.40
7.4.140.0090.01117.86
7.4.130.0120.01516.45
7.4.120.0120.00716.47
7.4.110.0160.00016.55
7.4.100.0120.00916.48
7.4.90.0040.01416.37
7.4.80.0110.00619.39
7.4.70.0080.00816.43
7.4.60.0030.01216.42
7.4.50.0050.00516.52
7.4.40.0060.01016.34
7.4.30.0070.01016.39
7.4.00.0060.01114.85
7.3.330.0020.00213.04
7.3.320.0030.00313.18
7.3.310.0070.00016.09
7.3.300.0000.00716.19
7.3.290.0000.00716.04
7.3.280.0080.00916.20
7.3.270.0100.00617.40
7.3.260.0110.00816.33
7.3.250.0120.01016.27
7.3.240.0110.00616.41
7.3.230.0100.00716.57
7.3.210.0100.00616.18
7.3.200.0110.00716.10
7.3.190.0030.01716.45
7.3.180.0130.00316.32
7.3.170.0070.01116.54
7.3.160.0070.01016.30
7.3.120.0110.01114.89
7.3.110.0060.01014.98
7.3.100.0000.01514.95
7.3.90.0090.00314.80
7.3.80.0060.01014.89
7.3.70.0030.00614.52
7.3.60.0060.00614.70
7.3.50.0040.01214.80
7.3.40.0030.01014.68
7.3.30.0040.00714.61
7.3.20.0040.01116.59
7.3.10.0120.00416.38
7.3.00.0120.00816.43
7.2.330.0100.00716.51
7.2.320.0040.01716.59
7.2.310.0130.00316.25
7.2.300.0090.00616.71
7.2.290.0070.01116.42
7.2.250.0070.01114.77
7.2.240.0160.00315.09
7.2.230.0130.00314.68
7.2.220.0100.00015.08
7.2.210.0060.00914.75
7.2.200.0000.01115.03
7.2.190.0000.01614.99
7.2.180.0060.00614.71
7.2.170.0090.00615.02
7.2.130.0200.00416.33
7.2.120.0200.00316.66
7.2.110.0100.01016.23
7.2.100.0100.01016.30
7.2.90.0150.00816.27
7.2.80.0060.01516.34
7.2.70.0200.00016.34
7.2.60.0100.00516.45
7.2.50.0100.00616.34
7.2.40.0100.00316.84
7.2.30.0070.01016.22
7.2.20.0100.01016.18
7.2.10.0140.00316.22
7.2.00.0070.00618.09
7.1.330.0090.00315.83
7.1.320.0060.00315.72
7.1.310.0090.00615.86
7.1.300.0040.01115.98
7.1.290.0040.00715.81
7.1.280.0060.00315.79
7.1.270.0130.00015.72
7.1.260.0030.01015.80
7.1.250.0090.00615.32
7.1.200.0030.01015.94
7.1.100.0280.00317.49
7.1.70.0030.01017.13
7.1.60.0730.00733.16
7.1.50.1030.00732.82
7.1.40.0600.01032.69
7.1.30.0230.00732.45
7.1.20.0670.01332.70
7.1.10.0100.00714.99
7.1.00.0370.00314.93
7.0.200.0570.01014.65
7.0.190.0500.00314.88
7.0.180.0700.00714.29
7.0.170.0670.01014.50
7.0.160.0570.00714.30
7.0.150.0000.01714.34
7.0.140.0570.01314.52
7.0.130.0270.01014.56
7.0.120.0170.01014.59
7.0.110.0030.01014.46
7.0.100.0730.01014.36
7.0.90.0030.00711.00
7.0.80.0600.01014.65
7.0.70.0030.01714.50
7.0.60.0570.01014.33
7.0.50.0570.00014.45
7.0.40.0070.01014.56
7.0.30.0070.00714.60
7.0.20.0070.01314.53
7.0.10.0000.02014.55
7.0.00.0270.00714.52

preferences:
68.37 ms | 400 KiB | 5 Q