3v4l.org

run code in 300+ PHP versions simultaneously
<?php function siteURL() { return "http://example.com/dir/"; } define('SITE_URL', siteURL()); //returns http://example.com/dir/ define('CKEDITOR', SITE_URL.'plugins/ckeditor/ckeditor.js'); // ignore the above code is just to emulate your code echo str_replace(SITE_URL,'',CKEDITOR);

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.00916.50
8.3.50.0130.00921.95
8.3.40.0000.01518.85
8.3.30.0140.00718.94
8.3.20.0140.00420.34
8.3.10.0080.00023.64
8.3.00.0060.00619.13
8.2.180.0100.01016.38
8.2.170.0120.00622.96
8.2.160.0070.01021.10
8.2.150.0080.00024.18
8.2.140.0050.00524.66
8.2.130.0110.00426.16
8.2.120.0040.00422.08
8.2.110.0070.01021.13
8.2.100.0040.00817.72
8.2.90.0040.00417.75
8.2.80.0090.00317.97
8.2.70.0080.00017.91
8.2.60.0000.00717.80
8.2.50.0030.00618.10
8.2.40.0030.00620.48
8.2.30.0040.00417.99
8.2.20.0080.00017.71
8.2.10.0000.00717.59
8.2.00.0040.00417.59
8.1.280.0040.01125.92
8.1.270.0040.00423.83
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00917.64
8.1.230.0100.00318.87
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0000.00917.35
8.1.190.0030.00617.13
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0000.00818.74
8.1.150.0040.00418.50
8.1.140.0060.00317.32
8.1.130.0050.00317.41
8.1.120.0000.00817.29
8.1.110.0040.00417.39
8.1.100.0040.00417.36
8.1.90.0030.00417.32
8.1.80.0030.00317.42
8.1.70.0000.00717.33
8.1.60.0060.00317.53
8.1.50.0040.00417.43
8.1.40.0030.00617.37
8.1.30.0040.00417.55
8.1.20.0050.00317.52
8.1.10.0040.00417.45
8.1.00.0040.00417.37
8.0.300.0040.00418.77
8.0.290.0100.00016.63
8.0.280.0030.00318.33
8.0.270.0030.00317.89
8.0.260.0040.00418.54
8.0.250.0000.00616.89
8.0.240.0000.00716.77
8.0.230.0060.00316.79
8.0.220.0040.00216.82
8.0.210.0030.00316.80
8.0.200.0050.00216.79
8.0.190.0000.01016.88
8.0.180.0030.00316.88
8.0.170.0000.00916.77
8.0.160.0000.00716.96
8.0.150.0070.00016.75
8.0.140.0000.00716.69
8.0.130.0000.00813.25
8.0.120.0040.00416.72
8.0.110.0060.00316.72
8.0.100.0030.00516.82
8.0.90.0050.00316.62
8.0.80.0030.01816.88
8.0.70.0040.00416.79
8.0.60.0000.00716.74
8.0.50.0040.00416.86
8.0.30.0090.01217.16
8.0.20.0120.00617.40
8.0.10.0030.00516.83
8.0.00.0080.01216.73
7.4.330.0030.00315.00
7.4.320.0030.00316.45
7.4.300.0030.00316.50
7.4.290.0000.00716.48
7.4.280.0000.00816.38
7.4.270.0060.00016.47
7.4.260.0000.00716.48
7.4.250.0000.00716.43
7.4.240.0040.00416.54
7.4.230.0030.00316.57
7.4.220.0070.01016.32
7.4.210.0050.01216.56
7.4.200.0000.00716.29
7.4.190.0000.00716.56
7.4.160.0070.01016.48
7.4.150.0110.00717.40
7.4.140.0100.00717.86
7.4.130.0140.00516.49
7.4.120.0140.00316.42
7.4.110.0030.01316.63
7.4.100.0030.01316.25
7.4.90.0060.01016.63
7.4.80.0000.01719.39
7.4.70.0030.00816.50
7.4.60.0130.00316.26
7.4.50.0000.00616.44
7.4.40.0090.00422.77
7.4.30.0100.00616.52
7.4.00.0060.00614.82
7.3.330.0000.00613.06
7.3.320.0080.00013.07
7.3.310.0000.00716.10
7.3.300.0000.00716.11
7.3.290.0070.01016.22
7.3.280.0080.01116.26
7.3.270.0070.01017.40
7.3.260.0060.01616.70
7.3.250.0120.00916.44
7.3.240.0100.00716.25
7.3.230.0120.00616.39
7.3.210.0080.00816.42
7.3.200.0110.00719.39
7.3.190.0160.00616.45
7.3.180.0030.01716.48
7.3.170.0090.01216.38
7.3.160.0120.00916.59
7.3.120.0030.01514.91
7.3.110.0030.01014.51
7.3.100.0060.00614.82
7.3.90.0000.01214.81
7.3.80.0030.00915.11
7.3.70.0040.01114.88
7.3.60.0090.00614.71
7.3.50.0110.00414.89
7.3.40.0090.00614.64
7.3.30.0120.00314.60
7.3.20.0060.00616.64
7.3.10.0080.00816.26
7.3.00.0140.00416.31
7.2.330.0060.01016.66
7.2.320.0040.01116.64
7.2.310.0090.01316.59
7.2.300.0040.01416.54
7.2.290.0090.01516.38
7.2.240.0070.00714.91
7.2.230.0040.01114.91
7.2.220.0090.00615.18
7.2.210.0070.01115.10
7.2.200.0070.01014.89
7.2.190.0070.00414.81
7.2.180.0100.00314.78
7.2.170.0000.01115.11
7.2.160.0070.00715.18
7.2.150.0040.00716.75
7.2.140.0090.00616.76
7.2.130.0070.00716.78
7.2.120.0130.00516.69
7.2.110.0100.00916.67
7.2.100.0050.01016.67
7.2.90.0100.01116.60
7.2.80.0170.00616.68
7.2.70.0100.00616.61
7.2.60.0130.00716.49
7.2.50.0120.00816.40
7.2.40.0180.00216.66
7.2.30.0100.00916.48
7.2.20.0110.01016.84
7.2.10.0100.00816.62
7.2.00.0130.00717.63
7.1.330.0060.00615.64
7.1.320.0060.00915.71
7.1.310.0060.00315.54
7.1.300.0000.01615.70
7.1.290.0000.01415.66
7.1.280.0030.00615.31
7.1.270.0030.01415.63
7.1.260.0080.00615.48
7.1.250.0050.00615.51
7.1.200.0030.00715.77
7.1.100.0070.00718.14
7.1.70.0040.00417.02
7.1.60.0100.01619.31
7.1.50.0000.01116.86
7.1.00.0070.07322.38
7.0.200.0030.00716.67
7.0.140.0030.07322.10
7.0.60.0000.08319.81
7.0.50.0170.07017.92
7.0.40.0070.08320.13
7.0.30.0270.04720.09
7.0.20.0230.03720.07
7.0.10.0130.08020.19
7.0.00.0030.04720.23
5.6.210.0030.06020.53
5.6.200.0070.07718.16
5.6.190.0030.07020.63
5.6.180.0330.05020.54
5.6.170.0300.06320.71
5.6.160.0030.04320.56
5.6.150.0100.05718.19
5.6.140.0070.08018.25
5.6.130.0030.04318.20
5.6.120.0000.05321.15
5.6.110.0100.05020.96
5.6.100.0100.07020.99
5.6.90.0200.06321.08
5.6.80.0070.08320.54
5.5.350.0300.06720.44
5.5.340.0070.04717.94
5.5.330.0170.04320.49
5.5.320.0100.06020.46
5.5.310.0300.07020.51
5.5.300.0070.04018.00
5.5.290.0100.07718.08
5.5.280.0070.04020.85
5.5.270.0070.08320.78
5.5.260.0070.08720.84
5.5.250.0130.07020.76
5.5.240.0030.05020.37
5.4.450.3400.04719.48
5.4.440.3200.04719.31
5.4.430.3070.04019.19
5.4.420.3970.04019.40
5.4.410.3330.03719.43
5.4.400.3470.03019.29
5.4.390.3300.04019.06
5.4.380.3270.04019.25
5.4.370.3130.03318.84
5.4.360.3070.03718.98
5.4.350.3070.03719.15
5.4.340.3230.04019.15
5.4.320.3330.03319.19
5.4.310.3100.04318.98
5.4.300.3130.04019.11
5.4.290.3230.03319.08
5.4.280.3230.03319.28
5.4.270.3200.04019.08
5.4.260.3200.03719.16
5.4.250.2670.03318.86
5.4.240.3230.03319.20
5.4.230.2900.03719.23
5.4.220.3200.04319.19
5.4.210.3370.03319.10
5.4.200.2930.04019.31
5.4.190.3270.03319.15
5.4.180.3200.04319.16
5.4.170.3230.03718.97
5.4.160.3300.04018.82
5.4.150.3400.03018.96
5.4.140.3400.03716.73
5.4.130.3070.04716.40
5.4.120.3430.03316.43
5.4.110.3070.04016.29
5.4.100.2830.03716.61
5.4.90.3430.04316.32
5.4.80.3330.03716.49
5.4.70.3470.02716.55
5.4.60.3070.03316.43
5.4.50.3330.03316.55
5.4.40.3970.03316.42
5.4.30.3370.03716.16
5.4.20.3530.03316.42
5.4.10.3600.03716.51
5.4.00.3700.03315.73
5.3.290.3170.04314.74
5.3.280.3230.03714.67
5.3.270.3330.03314.51
5.3.260.3330.04014.50
5.3.250.3230.03714.58
5.3.240.3300.04014.59
5.3.230.3200.04014.61
5.3.220.3070.03714.50
5.3.210.3370.04014.48
5.3.200.3000.04314.57
5.3.190.3100.04014.67
5.3.180.3370.03714.68
5.3.170.3430.03714.78
5.3.160.3200.04014.64
5.3.150.3270.03714.55
5.3.140.3370.04014.60
5.3.130.3100.03714.46
5.3.120.3300.04014.52
5.3.110.3870.04314.52
5.3.100.3570.04014.01
5.3.90.3600.03314.13
5.3.80.3270.03314.09
5.3.70.2870.04014.13
5.3.60.3000.04013.91
5.3.50.3630.03713.96
5.3.40.3370.03713.86
5.3.30.3470.04013.81
5.3.20.3200.02713.78
5.3.10.3170.03713.58
5.3.00.3700.03013.75
5.2.170.2730.03011.26
5.2.160.2670.03011.20
5.2.150.2900.03311.07
5.2.140.2530.03011.05
5.2.130.2670.02711.25
5.2.120.2830.03311.19
5.2.110.3170.03311.02
5.2.100.3300.03011.32
5.2.90.3330.02711.15
5.2.80.2830.03011.18
5.2.70.2600.03011.17
5.2.60.2800.02711.26
5.2.50.2700.02711.02
5.2.40.2430.03011.21
5.2.30.2430.02710.88
5.2.20.2370.03011.00
5.2.10.2430.03010.83
5.2.00.2430.02710.76
5.1.60.2670.0279.91
5.1.50.2770.0179.92
5.1.40.2700.0239.89
5.1.30.2470.02310.26
5.1.20.2800.02310.47
5.1.10.2630.0279.95
5.1.00.2370.02310.12
5.0.50.1230.0208.59
5.0.40.1200.0238.39
5.0.30.1200.0378.20
5.0.20.1200.0178.18
5.0.10.1300.0278.09
5.0.00.1270.0308.08
4.4.90.1270.0176.25
4.4.80.0970.0176.25
4.4.70.1170.0176.25
4.4.60.1400.0136.25
4.4.50.1370.0136.25
4.4.40.1500.0276.25
4.4.30.1470.0206.25
4.4.20.1470.0176.25
4.4.10.1430.0176.25
4.4.00.1130.0276.25
4.3.110.1200.0206.25
4.3.100.1270.0176.25
4.3.90.1300.0176.25
4.3.80.1100.0236.25
4.3.70.1300.0076.25
4.3.60.1330.0136.25
4.3.50.1130.0206.25
4.3.40.1070.0206.25
4.3.30.0530.0176.25
4.3.20.0330.0206.25
4.3.10.0730.0206.25
4.3.00.0600.0136.25

preferences:
48.67 ms | 401 KiB | 5 Q