3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Anil kumar\r\nAhmedabad\r\nAhmedabad,Goa - 380015, India"; $order = array("\r\n", "\n", "\r"); $order1 = array("<br />", "<br />", "<br />"); echo str_replace($order, $order1, $HotArr['billaddress'])."<br />";

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.40.0140.00018.79
8.3.30.0070.00719.18
8.3.20.0000.00720.29
8.3.10.0060.00323.66
8.3.00.0050.00319.26
8.2.170.0070.00722.96
8.2.160.0100.00320.34
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0040.00422.23
8.2.110.0030.00620.18
8.2.100.0060.00618.16
8.2.90.0040.00419.34
8.2.80.0000.00817.97
8.2.70.0000.00817.38
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0000.00719.95
8.2.30.0000.00818.10
8.2.20.0080.00017.81
8.2.10.0040.00417.88
8.2.00.0080.00017.61
8.1.270.0060.00322.14
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0100.00023.96
8.1.230.0090.00319.14
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0030.00617.00
8.1.190.0000.00817.22
8.1.180.0000.00718.10
8.1.170.0080.00018.30
8.1.160.0030.00322.01
8.1.150.0040.00418.84
8.1.140.0000.00717.52
8.1.130.0000.00717.87
8.1.120.0040.00417.42
8.1.110.0050.00217.47
8.1.100.0040.00417.48
8.1.90.0070.00017.31
8.1.80.0030.00617.47
8.1.70.0030.00317.33
8.1.60.0040.00417.60
8.1.50.0030.00517.50
8.1.40.0000.00717.39
8.1.30.0050.00317.69
8.1.20.0040.00417.67
8.1.10.0000.00817.47
8.1.00.0060.00317.43
8.0.300.0000.00718.77
8.0.290.0080.00016.75
8.0.280.0030.00318.44
8.0.270.0070.00017.20
8.0.260.0080.00017.13
8.0.250.0050.00217.08
8.0.240.0070.00016.98
8.0.230.0040.00416.91
8.0.220.0070.00016.92
8.0.210.0040.00416.87
8.0.200.0000.00617.05
8.0.190.0060.00316.98
8.0.180.0110.00016.87
8.0.170.0040.00416.88
8.0.160.0040.00417.02
8.0.150.0030.00516.93
8.0.140.0040.00416.80
8.0.130.0050.00313.36
8.0.120.0080.00016.95
8.0.110.0050.00316.90
8.0.100.0000.00717.07
8.0.90.0030.00316.99
8.0.80.0180.00016.91
8.0.70.0030.00516.75
8.0.60.0000.00816.75
8.0.50.0050.00216.68
8.0.30.0100.00917.12
8.0.20.0110.01117.40
8.0.10.0040.00416.81
8.0.00.0040.01616.75
7.4.330.0000.00415.02
7.4.320.0040.00416.45
7.4.300.0030.00316.54
7.4.290.0030.00316.43
7.4.280.0070.00416.47
7.4.270.0030.00316.54
7.4.260.0000.00716.49
7.4.250.0000.00716.54
7.4.240.0020.00516.55
7.4.230.0000.00716.48
7.4.220.0110.00616.52
7.4.210.0090.00616.43
7.4.200.0040.00416.34
7.4.160.0130.00316.46
7.4.150.0130.00617.40
7.4.140.0170.01417.86
7.4.130.0120.00616.46
7.4.120.0150.00416.49
7.4.110.0080.00916.46
7.4.100.0100.00716.41
7.4.90.0110.00716.45
7.4.80.0080.00819.39
7.4.70.0130.00716.42
7.4.60.0110.00716.39
7.4.50.0040.00416.43
7.4.40.0070.01116.53
7.4.30.0080.00916.57
7.4.10.0100.00614.94
7.4.00.0030.01214.79
7.3.330.0000.00613.05
7.3.320.0000.00513.17
7.3.310.0000.00716.42
7.3.300.0000.00716.28
7.3.290.0070.00916.28
7.3.280.0100.00516.28
7.3.270.0130.01017.40
7.3.260.0070.01116.28
7.3.250.0100.00716.43
7.3.240.0070.01016.25
7.3.230.0070.01016.39
7.3.210.0130.00316.60
7.3.200.0100.00719.39
7.3.190.0160.00616.51
7.3.180.0120.00916.44
7.3.170.0050.01116.60
7.3.160.0140.00716.30
7.3.130.0080.00814.58
7.3.120.0050.01014.83
7.3.110.0060.00914.75
7.3.100.0090.00514.69
7.3.90.0050.00814.84
7.3.80.0050.01114.79
7.3.70.0050.00814.74
7.3.60.0030.00914.75
7.3.50.0050.01014.86
7.3.40.0060.00514.76
7.3.30.0080.00714.75
7.3.20.0060.00916.56
7.3.10.0110.00116.55
7.3.00.0080.00616.63
7.2.330.0130.00316.50
7.2.320.0100.00716.24
7.2.310.0100.00716.73
7.2.300.0150.00616.66
7.2.290.0120.01216.55
7.2.260.0060.01314.85
7.2.250.0040.01814.82
7.2.240.0050.01115.12
7.2.230.0030.01315.05
7.2.220.0050.00915.01
7.2.210.0070.00814.86
7.2.200.0050.00915.03
7.2.190.0070.00914.96
7.2.180.0050.01015.06
7.2.170.0060.00814.97
7.2.160.0040.01115.04
7.2.150.0050.00916.78
7.2.140.0090.00416.76
7.2.130.0050.00917.02
7.2.120.0080.00516.82
7.2.110.0080.00616.90
7.2.100.0090.00316.69
7.2.90.0060.00916.75
7.2.80.0060.00516.88
7.2.70.0080.00416.83
7.2.60.0080.00717.00
7.2.50.0050.00816.79
7.2.40.0070.01017.10
7.2.30.0070.01016.89
7.2.20.0070.00916.85
7.2.10.0070.00816.93
7.2.00.0060.00817.64
7.1.330.0050.00915.85
7.1.320.0040.01115.73
7.1.310.0100.00615.59
7.1.300.0090.00315.81
7.1.290.0060.00715.72
7.1.280.0030.00915.76
7.1.270.0070.00515.84
7.1.260.0050.01215.82
7.1.250.0050.00915.63
7.1.240.0050.00515.81
7.1.230.0040.01115.70
7.1.220.0080.00416.01
7.1.210.0070.00315.49
7.1.200.0080.00315.59
7.1.190.0100.00715.85
7.1.180.0090.00315.53
7.1.170.0130.00515.59
7.1.160.0060.01415.57
7.1.150.0100.00915.88
7.1.140.0110.00815.88
7.1.130.0060.00815.82
7.1.120.0000.01415.84
7.1.110.0060.00615.98
7.1.100.0070.00716.96
7.1.90.0040.01115.78
7.1.80.0060.00315.79
7.1.70.0050.00616.40
7.1.60.0050.01217.43
7.1.50.0040.01616.23
7.1.40.0030.00515.77
7.1.30.0060.00315.82
7.1.20.0000.01115.87
7.1.10.0070.01015.78
7.1.00.0090.03619.03
7.0.330.0070.00615.26
7.0.320.0040.00815.38
7.0.310.0040.00715.30
7.0.300.0090.00315.34
7.0.290.0030.00615.28
7.0.280.0030.00615.41
7.0.270.0040.01115.46
7.0.260.0040.01115.37
7.0.250.0000.01515.12
7.0.240.0030.00715.39
7.0.230.0110.00015.54
7.0.220.0040.00915.28
7.0.210.0000.01015.31
7.0.200.0030.00916.13
7.0.190.0060.00315.42
7.0.180.0030.01215.51
7.0.170.0000.01115.29
7.0.160.0040.01115.45
7.0.150.0000.01415.41
7.0.140.0070.03718.78
7.0.130.0120.00015.30
7.0.120.0040.01215.37
7.0.110.0030.01015.44
7.0.100.0060.00915.29
7.0.90.0040.00415.49
7.0.80.0040.00415.33
7.0.70.0040.00415.49
7.0.60.0020.05317.80
7.0.50.0040.03216.50
7.0.40.0080.04216.79
7.0.30.0150.04016.72
7.0.20.0150.03316.65
7.0.10.0070.04816.91
7.0.00.0070.02516.77
5.6.400.0070.00414.37
5.6.390.0040.00414.63
5.6.380.0000.01214.68
5.6.370.0070.00414.28
5.6.360.0060.00314.59
5.6.350.0120.00614.47
5.6.340.0060.00914.14
5.6.330.0040.01214.76
5.6.320.0000.01514.34
5.6.310.0030.01314.64
5.6.300.0030.01014.44
5.6.290.0060.00314.02
5.6.280.0050.04017.69
5.6.270.0030.00714.18
5.6.260.0030.01214.50
5.6.250.0040.01114.51
5.6.240.0030.00614.22
5.6.230.0030.00914.41
5.6.220.0060.00614.39
5.6.210.0110.03817.65
5.6.200.0050.02816.28
5.6.190.0030.02817.50
5.6.180.0220.03717.41
5.6.170.0170.02517.35
5.6.160.0090.02217.38
5.6.150.0050.02316.24
5.6.140.0030.04716.27
5.6.130.0040.02516.20
5.6.120.0050.02717.79
5.6.110.0040.02717.70
5.6.100.0070.04417.58
5.6.90.0080.02717.79
5.6.80.0020.04217.31
5.6.70.2220.02617.30
5.6.60.0030.00614.35
5.6.50.0100.00714.09
5.6.40.0000.01214.33
5.6.30.0000.00914.25
5.6.20.0030.01014.23
5.6.10.0080.00814.14
5.6.00.0030.00714.32
5.5.380.0080.00314.26
5.5.370.0000.00814.51
5.5.360.0120.00314.57
5.5.350.0070.04617.52
5.5.340.0070.02516.33
5.5.330.0080.04517.21
5.5.320.0050.04317.10
5.5.310.0170.04217.32
5.5.300.0110.04016.15
5.5.290.0100.04516.07
5.5.280.0060.02817.59
5.5.270.0050.02417.49
5.5.260.0080.04417.54
5.5.250.0120.03017.58
5.5.240.0130.04217.26
5.5.230.0100.00314.38
5.5.220.0000.01414.42
5.5.210.0000.01414.26
5.5.200.0040.00814.32
5.5.190.0000.01514.41
5.5.180.0040.01214.25
5.5.170.0030.01314.18
5.5.160.0000.01014.34
5.5.150.0120.00314.14
5.5.140.0060.00614.19
5.5.130.0070.00714.35
5.5.120.0070.00714.26
5.5.110.0040.00714.38
5.5.100.0040.00814.03
5.5.90.0070.00713.89
5.5.80.0060.00614.28
5.5.70.0060.01214.42
5.5.60.0070.01014.25
5.5.50.0090.00614.23
5.5.40.0100.00714.48
5.5.30.0100.01014.30
5.5.20.0080.00414.26
5.5.10.0070.01114.25
5.5.00.0000.01814.00
5.4.450.0290.03215.49
5.4.440.0470.03515.21
5.4.430.0500.02515.31
5.4.420.0470.00315.37
5.4.410.0420.00215.04
5.4.400.0340.00415.10
5.4.390.0300.00615.04
5.4.380.0350.00415.09
5.4.370.0350.00215.05
5.4.360.0320.00415.08
5.4.350.0320.00415.02
5.4.340.0060.02111.50
5.4.330.0070.00311.13
5.4.320.0060.02711.69
5.4.310.0100.02211.71
5.4.300.0070.02011.69
5.4.290.0060.02511.69
5.4.280.0060.02411.66
5.4.270.0070.02211.63
5.4.260.0050.02311.71
5.4.250.0060.02311.71
5.4.240.0030.02511.69
5.4.230.0040.02411.64
5.4.220.0050.02211.58
5.4.210.0050.02111.59
5.4.200.0040.02511.58
5.4.190.0070.02111.70
5.4.180.0090.01911.66
5.4.170.0080.02111.76
5.4.160.0080.02011.71
5.4.150.0090.02111.63
5.4.140.0110.01711.49
5.4.130.0040.02211.46
5.4.120.0070.02211.48
5.4.110.0040.03511.44
5.4.100.0090.02411.60
5.4.90.0010.02811.42
5.4.80.0020.02111.54
5.4.70.0040.02311.47
5.4.60.0050.01911.58
5.4.50.0020.02411.43
5.4.40.0060.02111.51
5.4.30.0020.02411.53
5.4.20.0040.02311.46
5.4.10.0050.02211.44
5.4.00.0040.02111.24
5.3.290.0070.04512.80
5.3.280.0050.04212.71
5.3.270.0070.04012.72
5.3.260.0030.04312.72
5.3.250.0060.04312.72
5.3.240.0070.04212.72
5.3.230.0040.04012.71
5.3.220.0060.03712.68
5.3.210.0080.03812.68
5.3.200.0050.03812.68
5.3.190.0070.03812.68
5.3.180.0060.03612.67
5.3.170.0050.03712.67
5.3.160.0080.04412.67
5.3.150.0080.04012.68
5.3.140.0060.03712.66
5.3.130.0050.04012.66
5.3.120.0070.04612.66
5.3.110.0090.04012.66
5.3.100.0090.03412.12
5.3.90.0070.03712.08
5.3.80.0060.04512.07
5.3.70.0100.04612.08
5.3.60.0080.04112.06
5.3.50.0050.03812.00
5.3.40.0040.04312.00
5.3.30.0060.03811.95
5.3.20.0060.03611.72
5.3.10.0070.03711.69
5.3.00.0070.04211.68
5.2.170.0050.0319.18
5.2.160.0040.0309.18
5.2.150.0050.0319.18
5.2.140.0070.0299.18
5.2.130.0070.0419.14
5.2.120.0060.0319.13
5.2.110.0090.0269.14
5.2.100.0050.0309.14
5.2.90.0050.0329.14
5.2.80.0080.0379.13
5.2.70.0040.0319.13
5.2.60.0050.0309.09
5.2.50.0050.0299.06
5.2.40.0050.0409.03
5.2.30.0050.0419.01
5.2.20.0070.0279.00
5.2.10.0060.0278.92
5.2.00.0060.0298.77
5.1.60.0050.0238.06
5.1.50.0060.0338.06
5.1.40.0080.0228.04
5.1.30.0060.0258.39
5.1.20.0040.0318.41
5.1.10.0060.0278.13
5.1.00.0100.0238.13
5.0.50.0060.0276.61
5.0.40.0110.0316.48
5.0.30.0040.0346.29
5.0.20.0030.0216.26
5.0.10.0060.0276.23
5.0.00.0090.0406.23
4.4.90.0050.0224.78
4.4.80.0030.0224.75
4.4.70.0060.0194.75
4.4.60.0060.0194.75
4.4.50.0040.0214.77
4.4.40.0040.0254.71
4.4.30.0030.0154.76
4.4.20.0000.0184.85
4.4.10.0040.0194.85
4.4.00.0030.0304.76
4.3.110.0030.0194.66
4.3.100.0050.0144.66
4.3.90.0040.0144.64
4.3.80.0030.0264.59
4.3.70.0010.0204.63
4.3.60.0040.0144.63
4.3.50.0060.0144.63
4.3.40.0030.0244.53
4.3.30.0010.0183.28
4.3.20.0000.0203.26
4.3.10.0090.0283.21
4.3.00.0100.0277.28

preferences:
60.15 ms | 400 KiB | 5 Q