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 previous code is just to emulate your constants and functions // the answer is the following line: 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.0110.00416.50
8.3.50.0160.00822.00
8.3.40.0110.00418.59
8.3.30.0150.00019.16
8.3.20.0040.00420.16
8.3.10.0030.00623.53
8.3.00.0060.00319.38
8.2.180.0080.00818.01
8.2.170.0160.00318.94
8.2.160.0100.00322.96
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00422.29
8.2.110.0060.00322.14
8.2.100.0000.01217.78
8.2.90.0030.00518.88
8.2.80.0080.00017.97
8.2.70.0030.00517.50
8.2.60.0030.00617.80
8.2.50.0060.00318.07
8.2.40.0080.00019.94
8.2.30.0050.00218.06
8.2.20.0040.00417.73
8.2.10.0050.00318.03
8.2.00.0050.00317.49
8.1.280.0140.00425.92
8.1.270.0000.00823.91
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00423.79
8.1.230.0040.00719.29
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0040.00417.40
8.1.180.0000.00918.10
8.1.170.0070.00318.36
8.1.160.0040.00421.92
8.1.150.0000.00818.63
8.1.140.0030.00517.37
8.1.130.0000.00717.70
8.1.120.0000.00817.39
8.1.110.0070.00317.29
8.1.100.0000.00817.28
8.1.90.0000.00717.33
8.1.80.0030.00317.29
8.1.70.0040.00417.30
8.1.60.0000.00817.49
8.1.50.0000.00817.50
8.1.40.0050.00317.42
8.1.30.0000.00817.54
8.1.20.0040.00417.63
8.1.10.0040.00417.46
8.1.00.0000.00817.33
8.0.300.0020.00519.21
8.0.290.0050.00217.05
8.0.280.0070.00018.39
8.0.270.0060.00316.77
8.0.260.0060.00017.15
8.0.250.0030.00316.89
8.0.240.0080.00016.82
8.0.230.0070.00016.90
8.0.220.0070.00016.86
8.0.210.0030.00516.81
8.0.200.0050.00316.78
8.0.190.0040.00416.90
8.0.180.0000.00716.84
8.0.170.0040.00416.74
8.0.160.0040.00416.88
8.0.150.0000.00716.68
8.0.140.0000.00716.79
8.0.130.0030.00313.30
8.0.120.0000.00816.73
8.0.110.0090.00016.88
8.0.100.0040.00416.76
8.0.90.0040.00416.90
8.0.80.0040.01116.77
8.0.70.0050.00316.70
8.0.60.0040.00416.65
8.0.50.0040.00416.72
8.0.30.0120.00916.97
8.0.20.0070.01617.40
8.0.10.0000.00716.95
8.0.00.0110.00716.71
7.4.330.0050.00015.03
7.4.320.0030.00316.50
7.4.300.0000.00716.49
7.4.290.0030.00316.46
7.4.280.0040.00416.42
7.4.270.0030.00316.50
7.4.260.0000.00716.52
7.4.250.0030.00516.42
7.4.240.0070.00016.47
7.4.230.0000.00716.24
7.4.220.0030.01216.46
7.4.210.0070.00916.49
7.4.200.0000.00716.56
7.4.190.0070.00016.39
7.4.160.0130.00316.47
7.4.150.0120.00817.40
7.4.140.0160.00517.86
7.4.130.0110.00616.51
7.4.120.0110.00716.58
7.4.110.0160.00816.65
7.4.100.0180.00316.34
7.4.90.0100.01016.58
7.4.80.0090.01019.39
7.4.70.0040.01316.45
7.4.60.0000.01716.43
7.4.50.0050.00016.45
7.4.40.0110.00622.77
7.4.30.0080.00816.30
7.4.00.0060.01215.02
7.3.330.0060.00013.21
7.3.320.0000.00613.25
7.3.310.0040.00416.05
7.3.300.0070.00016.25
7.3.290.0040.01016.23
7.3.280.0110.00816.19
7.3.270.0030.01317.40
7.3.260.0060.01216.46
7.3.250.0110.00916.48
7.3.240.0060.01116.22
7.3.230.0030.01316.39
7.3.210.0060.01116.55
7.3.200.0030.01719.39
7.3.190.0070.01416.57
7.3.180.0070.01116.61
7.3.170.0070.01516.50
7.3.160.0130.00316.28
7.3.120.0080.00614.86
7.3.110.0050.01014.57
7.3.100.0050.01214.79
7.3.90.0070.00514.85
7.3.80.0080.00814.81
7.3.70.0020.01114.77
7.3.60.0070.00514.75
7.3.50.0100.00514.62
7.3.40.0000.00914.70
7.3.30.0070.00314.82
7.3.20.0060.00816.57
7.3.10.0030.01016.48
7.3.00.0080.00516.68
7.2.330.0130.00316.68
7.2.320.0070.01416.58
7.2.310.0120.00916.71
7.2.300.0040.01216.66
7.2.290.0060.01316.35
7.2.250.0080.01114.83
7.2.240.0070.01214.87
7.2.230.0090.00614.93
7.2.220.0080.00714.78
7.2.210.0050.00815.09
7.2.200.0040.00814.68
7.2.190.0060.00814.92
7.2.180.0090.00615.01
7.2.170.0020.00915.03
7.2.160.0040.00814.93
7.2.150.0070.01017.01
7.2.140.0030.00916.82
7.2.130.0060.00716.78
7.2.120.0040.00916.74
7.2.110.0050.00816.66
7.2.100.0050.01016.84
7.2.90.0050.00716.82
7.2.80.0080.00616.73
7.2.70.0070.00616.88
7.2.60.0070.00716.72
7.2.50.0060.00916.90
7.2.40.0080.00816.93
7.2.30.0070.00516.95
7.2.20.0070.00616.87
7.2.10.0010.01116.73
7.2.00.0050.00716.77
7.1.330.0100.00815.73
7.1.320.0060.00915.92
7.1.310.0060.00415.87
7.1.300.0050.00815.75
7.1.290.0090.00615.77
7.1.280.0030.00915.62
7.1.270.0030.01015.83
7.1.260.0070.00715.79
7.1.250.0080.00515.86
7.1.240.0060.00315.53
7.1.230.0060.00615.71
7.1.220.0030.01015.68
7.1.210.0070.00315.72
7.1.200.0060.00815.69
7.1.190.0100.00315.69
7.1.180.0000.01715.75
7.1.170.0070.00715.70
7.1.160.0040.00715.71
7.1.150.0030.01015.78
7.1.140.0040.00815.66
7.1.130.0070.00415.85
7.1.120.0040.00815.78
7.1.110.0100.00315.78
7.1.100.0000.01315.62
7.1.90.0040.01215.91
7.1.80.0040.00415.88
7.1.70.0050.00316.51
7.1.60.0060.00717.46
7.1.50.0080.00816.25
7.1.40.0030.01315.52
7.1.30.0100.00315.82
7.1.20.0070.00715.69
7.1.10.0060.00615.78
7.1.00.0060.04118.93
7.0.330.0050.00315.43
7.0.320.0070.01015.11
7.0.310.0060.01015.27
7.0.300.0040.00815.24
7.0.290.0040.00815.39
7.0.280.0070.00315.37
7.0.270.0040.00415.40
7.0.260.0030.00915.13
7.0.250.0040.00415.35
7.0.240.0060.00615.45
7.0.230.0060.00315.20
7.0.220.0030.01015.09
7.0.210.0100.00315.08
7.0.200.0140.00815.05
7.0.190.0060.00915.48
7.0.180.0030.00515.25
7.0.170.0040.00815.16
7.0.160.0060.00615.35
7.0.150.0130.00315.42
7.0.140.0030.04218.58
7.0.130.0060.01015.23
7.0.120.0070.00715.02
7.0.110.0030.00915.25
7.0.100.0030.00915.32
7.0.90.0070.00415.31
7.0.80.0100.00015.48
7.0.70.0040.02517.72
7.0.60.0050.02717.57
7.0.50.0040.02717.89
7.0.40.0130.03117.02
7.0.30.0080.02317.06
7.0.20.0030.02517.04
7.0.10.0020.04417.03
7.0.00.0070.03217.02
5.6.400.0000.00914.29
5.6.390.0030.01014.37
5.6.380.0030.01314.46
5.6.370.0030.01014.15
5.6.360.0040.01114.20
5.6.350.0000.01114.14
5.6.340.0030.01214.05
5.6.330.0050.00514.12
5.6.320.0100.00314.17
5.6.310.0000.00814.25
5.6.300.0080.00814.13
5.6.290.0040.01113.98
5.6.280.0050.04017.64
5.6.270.0030.01014.35
5.6.260.0040.00713.97
5.6.250.0070.00714.33
5.6.240.0070.00714.28
5.6.230.0060.00914.29
5.6.220.0050.03517.36
5.6.210.0100.02217.29
5.6.200.0070.04517.65
5.6.190.0100.03517.54
5.6.180.0040.02617.57
5.6.170.0020.03017.59
5.6.160.0070.02717.65
5.6.150.0020.02817.63
5.6.140.0070.02517.55
5.6.130.0050.02517.69
5.6.120.0050.02517.61
5.6.110.0060.02017.66
5.6.100.0030.02617.67
5.6.90.0060.02317.72
5.6.80.0050.03517.21
5.6.70.0110.01817.24
5.6.60.0030.03117.23
5.6.50.0020.02817.24
5.6.40.0080.01917.29
5.6.30.0060.02117.38
5.6.20.0050.02317.23
5.6.10.0090.02017.25
5.6.00.0070.02217.23
5.5.380.0060.00613.94
5.5.370.0030.00714.08
5.5.360.0020.02617.32
5.5.350.0020.03217.37
5.5.340.0050.03917.52
5.5.330.0030.02517.45
5.5.320.0080.02017.38
5.5.310.0000.03117.28
5.5.300.0030.02517.35
5.5.290.0020.02917.61
5.5.280.0030.02617.47
5.5.270.0040.02417.67
5.5.260.0070.03317.50
5.5.250.0060.02017.33
5.5.240.0070.02217.08
5.5.230.0000.02817.26
5.5.220.0090.02817.17
5.5.210.0050.02117.05
5.5.200.0020.02617.10
5.5.190.0040.02417.18
5.5.180.0050.02717.25
5.5.170.0080.00314.17
5.5.160.0070.03717.09
5.5.150.0020.03417.13
5.5.140.0130.04017.06
5.5.130.0110.02917.14
5.5.120.0030.04017.10
5.5.110.0050.04517.20
5.5.100.0050.03517.11
5.5.90.0050.04817.09
5.5.80.0050.04417.04
5.5.70.0060.04117.14
5.5.60.0030.03717.02
5.5.50.0080.02316.98
5.5.40.0050.03417.07
5.5.30.0050.02716.93
5.5.20.0050.04317.07
5.5.10.0100.03817.05
5.5.00.0100.02017.16
5.4.450.0090.01916.66
5.4.440.0020.02516.68
5.4.430.0020.02416.70
5.4.420.0050.02416.69
5.4.410.0030.02216.59
5.4.400.0060.02016.55
5.4.390.0050.02716.58
5.4.380.0020.02216.49
5.4.370.0020.02216.50
5.4.360.0050.01816.51
5.4.350.0050.01916.49
5.4.340.0050.02316.58
5.4.330.0070.00413.94
5.4.320.0050.04216.49
5.4.310.0090.02516.56
5.4.300.0050.03516.49
5.4.290.0080.03816.53
5.4.280.0070.04316.49
5.4.270.0030.02516.49
5.4.260.0040.03416.49
5.4.250.0050.03316.54
5.4.240.0000.03716.51
5.4.230.0050.04016.53
5.4.220.0020.02916.56
5.4.210.0040.02516.49
5.4.200.0060.04016.45
5.4.190.0060.03816.57
5.4.180.0100.03416.49
5.4.170.0030.04116.52
5.4.160.0060.01916.53
5.4.150.0070.04216.56
5.4.140.0070.04115.20
5.4.130.0050.04115.24
5.4.120.0020.03515.18
5.4.110.0090.02715.14
5.4.100.0030.03715.16
5.4.90.0050.02015.18
5.4.80.0050.04115.19
5.4.70.0070.04215.20
5.4.60.0030.04215.21
5.4.50.0020.04115.17
5.4.40.0020.04015.16
5.4.30.0030.04115.19
5.4.20.0050.02915.19
5.4.10.0050.04015.21
5.4.00.0050.03814.92
5.3.290.0030.05714.66
5.3.280.0030.07714.51
5.3.270.0070.06714.71
5.3.260.0070.03314.74
5.3.250.0030.04314.66
5.3.240.0070.08014.53
5.3.230.0100.07014.69
5.3.220.0030.08314.63
5.3.210.0070.07714.60
5.3.200.0100.07014.59
5.3.190.0030.05714.63
5.3.180.0100.05714.51
5.3.170.0000.06714.59
5.3.160.0000.08314.52
5.3.150.0070.07714.57
5.3.140.0070.07014.53
5.3.130.0070.07714.52
5.3.120.0130.05714.57
5.3.110.0100.07014.68
5.3.100.0030.06314.17
5.3.90.0030.06314.08
5.3.80.0030.08313.99
5.3.70.0000.07314.04
5.3.60.0030.07013.99
5.3.50.0100.07313.99
5.3.40.0100.05013.83
5.3.30.0000.07314.00
5.3.20.0030.05013.82
5.3.10.0030.06713.76
5.3.00.0070.07313.56
5.2.170.0070.06712.19
5.2.160.0000.06312.19
5.2.150.0130.05312.19
5.2.140.0070.06012.19
5.2.130.0030.04312.19
5.2.120.0030.06312.19
5.2.110.0100.05012.19
5.2.100.0030.04312.19
5.2.90.0100.04712.19
5.2.80.0070.04712.19
5.2.70.0000.06712.19
5.2.60.0000.05012.19
5.2.50.0030.06012.19
5.2.40.0000.07012.19
5.2.30.0000.06712.19
5.2.20.0030.06012.19
5.2.10.0030.05712.19
5.2.00.0000.06312.19
5.1.60.0070.04012.19
5.1.50.0000.05012.19
5.1.40.0130.04012.19
5.1.30.0070.05012.19
5.1.20.0030.06012.19
5.1.10.0030.05312.19
5.1.00.0070.05312.19
5.0.50.0030.04012.19
5.0.40.0000.03312.19
5.0.30.0030.05312.19
5.0.20.0070.03712.19
5.0.10.0000.04312.19
5.0.00.0070.06012.19
4.4.90.0030.02712.19
4.4.80.0000.03712.19
4.4.70.0000.03712.19
4.4.60.0030.03312.19
4.4.50.0000.03312.19
4.4.40.0000.04012.19
4.4.30.0030.03012.19
4.4.20.0030.03012.19
4.4.10.0000.03012.19
4.4.00.0000.04012.19
4.3.110.0000.02312.19
4.3.100.0000.02712.19
4.3.90.0000.02712.19
4.3.80.0000.05312.19
4.3.70.0000.03312.19
4.3.60.0030.02012.19
4.3.50.0000.02712.19
4.3.40.0030.05012.19
4.3.30.0000.03712.19
4.3.20.0000.04012.19
4.3.10.0070.03012.19
4.3.00.0100.02312.19

preferences:
42.76 ms | 401 KiB | 5 Q