3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace('#\\\/#', '/', 'https:\/\/example.com https:\/\/otherurl.com');

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.0120.00318.18
8.3.50.0040.01118.35
8.3.40.0070.01018.65
8.3.30.0070.00718.96
8.3.20.0040.00418.97
8.3.10.0040.00421.87
8.3.00.0040.00423.52
8.2.180.0070.00718.29
8.2.170.0070.00722.96
8.2.160.0100.00319.34
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0090.00019.27
8.2.120.0000.00726.35
8.2.110.0030.00622.04
8.2.100.0090.00317.91
8.2.90.0040.00419.09
8.2.80.0030.00617.97
8.2.70.0030.00617.68
8.2.60.0030.00517.91
8.2.50.0020.00518.10
8.2.40.0040.00419.20
8.2.30.0090.00019.20
8.2.20.0000.00718.02
8.2.10.0050.00217.98
8.2.00.0040.00419.25
8.1.280.0160.00325.92
8.1.270.0040.00422.06
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.42
8.1.230.0080.00317.77
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0000.01017.35
8.1.190.0030.00517.23
8.1.180.0050.00318.10
8.1.170.0000.00818.76
8.1.160.0000.00818.86
8.1.150.0070.00018.77
8.1.140.0070.00017.52
8.1.130.0030.00317.43
8.1.120.0040.00417.48
8.1.110.0050.00317.44
8.1.100.0080.00017.50
8.1.90.0000.00717.33
8.1.80.0040.00417.47
8.1.70.0030.00317.53
8.1.60.0030.00517.61
8.1.50.0080.00517.54
8.1.40.0000.00917.55
8.1.30.0000.00817.62
8.1.20.0000.00717.69
8.1.10.0030.00517.64
8.1.00.0040.00417.52
8.0.300.0050.00318.77
8.0.290.0000.00816.88
8.0.280.0000.00718.30
8.0.270.0030.00317.04
8.0.260.0030.00316.77
8.0.250.0030.00716.90
8.0.240.0030.00517.04
8.0.230.0030.00316.82
8.0.220.0020.00516.82
8.0.210.0070.00016.90
8.0.200.0060.00016.86
8.0.190.0000.00816.93
8.0.180.0000.00716.92
8.0.170.0090.00016.79
8.0.160.0030.00516.89
8.0.150.0070.00016.82
8.0.140.0000.00716.84
8.0.130.0000.00513.36
8.0.120.0020.00516.82
8.0.110.0000.00716.78
8.0.100.0080.00016.75
8.0.90.0070.00016.76
8.0.80.0100.01116.88
8.0.70.0040.00416.94
8.0.60.0070.00016.90
8.0.50.0070.00016.96
8.0.30.0070.01117.05
8.0.20.0130.00717.40
8.0.10.0040.00416.91
8.0.00.0160.00316.89
7.4.330.0040.00015.55
7.4.320.0060.00016.54
7.4.300.0060.00016.68
7.4.290.0000.00716.66
7.4.280.0040.00416.68
7.4.270.0020.00516.58
7.4.260.0000.00816.46
7.4.250.0000.00716.59
7.4.240.0060.00316.64
7.4.230.0000.00816.72
7.4.220.0070.00016.61
7.4.210.0110.00616.72
7.4.200.0000.00716.65
7.4.160.0060.01016.55
7.4.140.0120.00717.86
7.4.130.0070.01016.47
7.4.120.0110.00816.65
7.4.110.0090.00716.51
7.4.100.0100.01016.56
7.4.90.0090.00916.46
7.4.80.0130.01019.39
7.4.70.0130.00716.64
7.4.60.0130.00316.82
7.4.50.0090.00616.44
7.4.40.0060.00916.63
7.4.00.0110.00615.14
7.3.330.0060.00013.23
7.3.320.0050.00013.14
7.3.310.0000.00716.32
7.3.300.0060.00016.17
7.3.290.0000.00716.28
7.3.280.0020.01416.26
7.3.260.0100.00916.33
7.3.240.0080.01116.59
7.3.230.0090.00916.58
7.3.210.0090.01216.13
7.3.200.0090.00616.73
7.3.190.0080.00816.50
7.3.180.0080.00816.40
7.3.170.0110.00616.23
7.3.160.0070.01016.60
7.3.120.0070.01014.63
7.3.110.0040.01114.61
7.3.100.0090.00014.69
7.3.90.0030.01014.62
7.3.80.0030.01315.01
7.3.70.0120.00014.61
7.3.60.0030.01014.86
7.3.50.0000.01114.70
7.3.40.0000.00914.58
7.3.30.0080.00314.70
7.3.20.0000.01316.53
7.3.10.0050.00916.73
7.3.00.0080.00516.76
7.2.330.0070.01316.67
7.2.320.0060.01816.56
7.2.310.0100.00716.50
7.2.300.0120.00616.59
7.2.290.0140.00716.50
7.2.240.0030.01315.22
7.2.230.0030.01014.83
7.2.220.0000.01214.93
7.2.210.0000.01314.93
7.2.200.0120.00314.65
7.2.190.0050.00814.90
7.2.180.0030.00714.82
7.2.170.0040.00715.18
7.2.160.0000.00814.77
7.2.150.0070.00716.65
7.2.140.0040.00716.90
7.2.130.0030.00816.75
7.2.120.0080.01016.77
7.2.110.0060.00816.85
7.2.100.0060.00816.72
7.2.90.0050.01116.74
7.2.80.0030.01216.91
7.2.70.0380.00616.24
7.2.60.0310.01116.27
7.2.50.0560.01016.33
7.2.40.0290.00516.29
7.2.30.0310.00916.41
7.2.20.0300.00616.25
7.2.10.0290.00416.21
7.2.00.0260.00916.15
7.1.330.0060.00615.79
7.1.320.0030.00915.92
7.1.310.0000.00716.00
7.1.300.0070.01015.74
7.1.290.0030.01015.55
7.1.280.0040.01115.77
7.1.270.0070.01015.62
7.1.260.0040.00715.82
7.1.250.0080.00615.69
7.1.200.0070.00415.71
7.1.170.0810.01314.12
7.1.160.0720.01313.94
7.1.150.0900.00613.81
7.1.140.0930.00713.86
7.1.130.0660.00913.96
7.1.120.0730.00613.83
7.1.110.0680.00314.08
7.1.100.0830.00014.16
7.1.90.1500.00613.76
7.1.80.1100.01014.01
7.1.70.1030.00014.14
7.1.60.0910.01031.96
7.1.50.1010.01331.99
7.1.40.1190.01031.92
7.1.30.1730.01631.83
7.1.20.1290.01032.03
7.1.10.1070.01014.09
7.1.00.0810.00313.84

preferences:
41.81 ms | 400 KiB | 5 Q