3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Only in production mode. error_reporting(0); define('DS', DIRECTORY_SEPARATOR); define('ROOT', dirname(__FILE__) . DS); // ROOT is php_js/ folder ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>CookieLayerHelper PHP, HTML, JS, CSS</title> </head> <body> <h1>CookieLayerHelper PHP, HTML, JS, CSS</h1> <script type="text/javascript" src="./js/jquery-1.11.1.min.js"></script> <?php require_once ROOT . DS . 'Helper' . DS .'CookieLayerHelper.php'; $settings = array( 'locale' => 'pt_PT', 'mode' => 'normal', // normal: shows understood button and include all cookies without ask. 'onAceptClick' => ' /* Instead of load the source code via CookieLayerLoader.js, here you can include more source code. */ alert(\'Agree. Code injected from settings =)\'); ', 'onDisagreeClick' => ' /* Here you can include code that is going to execute when disagree button was pressed */ alert(\'Disagree. Code injected from settings =)\'); ' ); try{ $CookieLayerHelper = new CookieLayerHelper($settings); $CookieLayerHelper->render(); } catch (Exception $e){ echo $e->getMessage(); } ?> </body> </html>

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.0000.01417.00
8.3.50.0070.01122.89
8.3.40.0120.00318.92
8.3.30.0070.00719.18
8.3.20.0000.00820.34
8.3.10.0040.00423.58
8.3.00.0060.00317.75
8.2.180.0110.00416.63
8.2.170.0120.00322.96
8.2.160.0070.01320.53
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.91
8.2.110.0000.00920.39
8.2.100.0070.00418.03
8.2.90.0080.00019.23
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0030.00517.93
8.2.50.0040.00418.07
8.2.40.0040.00418.28
8.2.30.0050.00318.11
8.2.20.0000.00817.76
8.2.10.0040.00418.10
8.2.00.0040.00417.80
8.1.280.0070.00725.92
8.1.270.0040.00422.06
8.1.260.0050.00326.35
8.1.250.0000.00928.09
8.1.240.0060.00322.48
8.1.230.0090.00321.02
8.1.220.0040.00418.77
8.1.210.0030.00618.88
8.1.200.0100.00017.23
8.1.190.0040.00417.23
8.1.180.0030.00618.95
8.1.170.0030.00618.53
8.1.160.0050.00222.10
8.1.150.0050.00218.84
8.1.140.0040.00417.43
8.1.130.0030.00317.80
8.1.120.0040.00417.48
8.1.110.0050.00317.35
8.1.100.0000.00717.34
8.1.90.0030.00517.44
8.1.80.0000.00817.48
8.1.70.0050.00317.41
8.1.60.0000.00917.53
8.1.50.0030.00517.61
8.1.40.0040.00417.52
8.1.30.0060.00317.66
8.1.20.0050.00317.52
8.1.10.0050.00317.51
8.1.00.0000.00817.53
8.0.300.0040.00420.23
8.0.290.0070.00016.75
8.0.280.0040.00418.46
8.0.270.0040.00417.23
8.0.260.0070.00017.36
8.0.250.0000.00717.15
8.0.240.0040.00416.99
8.0.230.0040.00417.14
8.0.220.0070.00016.95
8.0.210.0040.00417.06
8.0.200.0000.00717.01
8.0.190.0060.00317.11
8.0.180.0020.00517.10
8.0.170.0030.00517.07
8.0.160.0070.00017.02
8.0.150.0020.00516.96
8.0.140.0000.00717.07
8.0.130.0000.00613.47
8.0.120.0070.00315.21
8.0.110.0100.00015.29
8.0.100.0050.00515.22
8.0.90.0030.00715.21
8.0.80.0050.00915.29
8.0.70.0060.00415.20
8.0.60.0080.00215.25
8.0.50.0050.00515.28
8.0.30.0130.00715.86
8.0.20.0110.00816.09
8.0.10.0080.00215.18
8.0.00.0100.00815.66
7.4.330.0030.00315.00
7.4.320.0030.00316.66
7.4.300.0030.00316.56
7.4.290.0050.00216.70
7.4.280.0000.00716.55
7.4.270.0050.00216.66
7.4.260.0000.00716.59
7.4.250.0020.00614.89
7.4.240.0060.00315.41
7.4.230.0090.00214.98
7.4.220.0110.00514.97
7.4.210.0080.00515.04
7.4.200.0080.00214.93
7.4.190.0120.00013.38
7.4.180.0070.00013.37
7.4.160.0060.00614.99
7.4.150.0090.00615.41
7.4.140.0110.00916.32
7.4.130.0090.00715.34
7.4.120.0080.00815.43
7.4.110.0100.00514.87
7.4.100.0100.01214.99
7.4.90.0110.00314.81
7.4.80.0040.00716.30
7.4.70.0030.01114.98
7.4.60.0070.00314.89
7.4.50.0030.00314.88
7.4.40.0050.00614.87
7.4.30.0090.00314.94
7.4.20.0000.00613.04
7.4.10.0020.00413.21
7.4.00.0030.00814.17
7.3.330.0030.00313.19
7.3.320.0030.00313.21
7.3.310.0040.00314.81
7.3.300.0020.00514.69
7.3.290.0030.00814.87
7.3.280.0060.00815.55
7.3.270.0080.00715.37
7.3.260.0070.00414.78
7.3.250.0050.00915.34
7.3.240.0070.00514.79
7.3.230.0060.00614.84
7.3.220.0000.00713.17
7.3.210.0080.00414.75
7.3.200.0030.01116.33
7.3.190.0040.00914.80
7.3.180.0100.00514.71
7.3.170.0060.00414.90
7.3.160.0070.00314.87
7.3.150.0030.00313.18
7.3.140.0030.00313.04
7.3.130.0000.00613.12
7.3.120.0030.00313.01
7.3.110.0000.00612.94
7.3.100.0050.00013.09
7.3.90.0000.00513.20
7.3.80.0060.00013.12
7.3.70.0030.00313.05
7.3.60.0000.00513.25
7.3.50.0020.00213.34
7.3.40.0030.00313.24
7.3.30.0050.00013.09
7.3.20.0000.00614.87
7.3.10.0080.00215.78
7.3.00.0040.00415.85
7.2.340.0080.00413.05
7.2.330.0110.00414.77
7.2.320.0020.01214.91
7.2.310.0070.00814.92
7.2.300.0120.00314.94
7.2.290.0100.00714.76
7.2.280.0130.00013.14
7.2.270.0060.00613.13
7.2.260.0080.00413.22
7.2.250.0060.00613.07
7.2.240.0110.00213.21
7.2.230.0110.00213.06
7.2.220.0120.00013.21
7.2.210.0090.00313.26
7.2.200.0100.00313.13
7.2.190.0080.00413.21
7.2.180.0100.00313.23
7.2.170.0050.00813.20
7.2.160.0100.00213.14
7.2.150.0040.00914.91
7.2.140.0100.00315.05
7.2.130.0060.00815.92
7.2.120.0080.00415.92
7.2.110.0080.00615.99
7.2.100.0030.01215.81
7.2.90.0100.00515.83
7.2.80.0080.00315.81
7.2.70.0060.00615.90
7.2.60.0050.00715.66
7.2.50.0100.00115.97
7.2.40.0060.00815.99
7.2.30.0050.01015.85
7.2.20.0060.00515.83
7.2.10.0080.00715.90
7.2.00.0080.00817.09
7.1.330.0120.00014.13
7.1.320.0090.00314.04
7.1.310.0080.00414.07
7.1.300.0060.00613.98
7.1.290.0120.00014.08
7.1.280.0100.00214.11
7.1.270.0080.00414.00
7.1.260.0060.00614.11
7.1.250.0110.00314.85
7.1.240.0090.00314.09
7.1.230.0060.00514.21
7.1.220.0000.01214.09
7.1.210.0060.00614.10
7.1.200.0040.00814.10
7.1.190.0110.00013.96
7.1.180.0090.00213.91
7.1.170.0090.00314.16
7.1.160.0100.00214.07
7.1.150.0080.00414.03
7.1.140.0110.00014.10
7.1.130.0080.00414.09
7.1.120.0060.00614.16
7.1.110.0060.00614.06
7.1.100.0080.00416.02
7.1.90.0120.00013.89
7.1.80.0110.00013.98
7.1.70.0060.00315.47
7.1.60.0070.01216.75
7.1.50.0060.00515.35
7.1.40.0060.00614.01
7.1.30.0120.00014.12
7.1.20.0090.00313.95
7.1.10.0000.01213.86
7.1.00.0080.03818.21
7.0.330.0110.00014.05
7.0.320.0130.00014.02
7.0.310.0000.01113.91
7.0.300.0040.00813.99
7.0.290.0110.00014.09
7.0.280.0120.00014.04
7.0.270.0090.00314.04
7.0.260.0110.00013.93
7.0.250.0070.00513.96
7.0.240.0060.00613.92
7.0.230.0060.00613.96
7.0.220.0110.00214.09
7.0.210.0060.00614.09
7.0.200.0040.00615.21
7.0.190.0070.00514.07
7.0.180.0000.01213.87
7.0.170.0040.00713.96
7.0.160.0090.00313.91
7.0.150.0120.00013.93
7.0.140.0090.03718.04
7.0.130.0120.00014.08
7.0.120.0060.00614.07
7.0.110.0090.04016.95
7.0.100.0120.03817.07
7.0.90.0330.04316.92
7.0.80.0340.02717.03
7.0.70.0340.04016.93
7.0.60.0330.03917.04
7.0.50.0340.04017.20
7.0.40.0080.04217.10
7.0.30.0060.04317.14
7.0.20.0060.04417.05
7.0.10.0090.03717.15
7.0.00.0090.03816.93
5.6.400.0110.00012.44
5.6.390.0090.00312.61
5.6.380.0060.00612.60
5.6.370.0080.00412.62
5.6.360.0060.00612.46
5.6.350.0040.00812.61
5.6.340.0090.00412.40
5.6.330.0100.00412.59
5.6.320.0040.00812.65
5.6.310.0060.00612.44
5.6.300.0120.00012.64
5.6.290.0090.00412.69
5.6.280.0080.03816.68
5.6.270.0120.00012.63
5.6.260.0060.04316.59
5.6.250.0060.04516.60
5.6.240.0060.04216.68
5.6.230.0050.04716.69
5.6.220.0070.04016.65
5.6.210.0130.03816.57
5.6.200.0050.04316.88
5.6.190.0120.04016.87
5.6.180.0100.02717.01
5.6.170.0110.03816.92
5.6.160.0130.03716.74
5.6.150.0120.03516.81
5.6.140.0050.04616.77
5.6.130.0090.04316.77
5.6.120.0080.04216.84
5.6.110.0110.04016.80
5.6.100.0080.02216.91
5.6.90.0050.04316.74
5.6.80.0080.02716.50
5.6.70.0100.01716.52
5.6.60.0100.03416.60
5.6.50.0080.02216.48
5.6.40.0070.02216.53
5.6.30.0030.03116.56
5.6.20.0020.02616.51
5.6.10.0080.03716.35
5.6.00.0050.03716.42
5.5.380.0060.04316.47
5.5.370.0050.03016.38
5.5.360.0090.02516.31
5.5.350.0090.04316.45
5.5.340.0080.02516.71
5.5.330.0100.03016.82
5.5.320.0070.03816.60
5.5.310.0020.04216.61
5.5.300.0120.03416.66
5.5.290.0080.02316.57
5.5.280.0050.03816.81
5.5.270.0150.03816.79
5.5.260.0090.02016.74
5.5.250.0070.02916.52
5.5.240.0110.03216.35
5.5.230.0070.02216.38
5.5.220.0090.01816.42
5.5.210.0070.02516.41
5.5.200.0080.02016.42
5.5.190.0050.02216.36
5.5.180.0050.02216.28
5.5.170.0060.00612.33
5.5.160.0100.01516.37
5.5.150.0100.01716.24
5.5.140.0060.02316.14
5.5.130.0070.02716.27
5.5.120.0050.02016.19
5.5.110.0070.02016.39
5.5.100.0070.02016.41
5.5.90.0050.02216.25
5.5.80.0070.02316.29
5.5.70.0050.02416.31
5.5.60.0030.02216.25
5.5.50.0030.02216.25
5.5.40.0070.03016.24
5.5.30.0040.02316.35
5.5.20.0070.02316.40
5.5.10.0040.02416.07
5.5.00.0020.02616.28
5.4.450.0090.03216.00
5.4.440.0130.03215.96
5.4.430.0050.03815.98
5.4.420.0020.02716.01
5.4.410.0060.02315.78
5.4.400.0060.02015.82
5.4.390.0110.03315.71
5.4.380.0090.01715.77
5.4.370.0050.02015.71
5.4.360.0050.02215.69
5.4.350.0060.02615.72
5.4.340.0020.02915.76
5.4.330.0070.00412.44
5.4.320.0030.02315.73
5.4.310.0080.02315.68
5.4.300.0040.02615.76
5.4.290.0080.01715.79
5.4.280.0060.02015.75
5.4.270.0070.02315.73
5.4.260.0140.03015.79
5.4.250.0020.03415.92
5.4.240.0020.02315.78
5.4.230.0070.01815.75
5.4.220.0080.01815.66
5.4.210.0000.02715.61
5.4.200.0060.02115.64
5.4.190.0080.02515.57
5.4.180.0060.03115.62
5.4.170.0090.01715.82
5.4.160.0030.02315.85
5.4.150.0100.02015.67
5.4.140.0050.02214.35
5.4.130.0080.01614.40
5.4.120.0030.02114.24
5.4.110.0080.02514.52
5.4.100.0020.02214.42
5.4.90.0050.02814.41
5.4.80.0050.02514.55
5.4.70.0120.03214.55
5.4.60.0080.01914.53
5.4.50.0070.03714.46
5.4.40.0150.01714.59
5.4.30.0090.03314.48
5.4.20.0050.02614.45
5.4.10.0050.02214.49
5.4.00.0070.03514.00
5.3.290.0050.02613.67
5.3.280.0050.02013.80
5.3.270.0080.01813.69
5.3.260.0030.02313.81
5.3.250.0070.01813.90
5.3.240.0060.02013.71
5.3.230.0040.02113.63
5.3.220.0030.02313.68
5.3.210.0060.02013.63
5.3.200.0060.03113.49
5.3.190.0070.02313.82
5.3.180.0030.02313.70
5.3.170.0060.02113.84
5.3.160.0030.03713.73
5.3.150.0080.03813.65
5.3.140.0080.03513.66
5.3.130.0080.03413.64
5.3.120.0080.03813.79
5.3.110.0070.03813.72
5.3.100.0130.03313.35
5.3.90.0030.04213.47
5.3.80.0060.03913.41
5.3.70.0120.02013.54
5.3.60.0090.03613.40
5.3.50.0070.03513.30
5.3.40.0130.03113.42
5.3.30.0060.02413.33
5.3.20.0070.03513.07
5.3.10.0070.03213.07
5.3.00.0090.03113.18
5.2.170.0140.01211.98
5.2.160.0050.03512.00
5.2.150.0060.01811.87
5.2.140.0070.01811.85
5.2.130.0020.03211.87
5.2.120.0080.03012.00
5.2.110.0040.02711.84
5.2.100.0060.03311.93
5.2.90.0050.02011.82
5.2.80.0100.02811.84
5.2.70.0110.02911.79
5.2.60.0040.03611.86
5.2.50.0040.03511.83
5.2.40.0020.03611.95
5.2.30.0120.02811.92
5.2.20.0030.03511.86
5.2.10.0070.03111.77
5.2.00.0070.02711.77
5.1.60.0090.01811.32
5.1.50.0050.02811.35
5.1.40.0070.02711.40
5.1.30.0050.02711.42
5.1.20.0040.03211.40
5.1.10.0060.02511.56
5.1.00.0080.02611.33
5.0.50.0050.02011.24
5.0.40.0030.01311.24
5.0.30.0050.03211.24
5.0.20.0020.01511.24
5.0.10.0020.01811.24
5.0.00.0030.03211.24
4.4.90.0000.02011.24
4.4.80.0050.01511.24
4.4.70.0050.01711.24
4.4.60.0020.01811.24
4.4.50.0070.01311.24
4.4.40.0040.02711.24
4.4.30.0030.01211.24
4.4.20.0040.01711.24
4.4.10.0050.01511.24
4.4.00.0020.02711.24
4.3.110.0030.01711.24
4.3.100.0050.00711.24
4.3.90.0040.01511.24
4.3.80.0040.02511.24
4.3.70.0050.01311.24
4.3.60.0040.01711.24
4.3.50.0020.01311.24
4.3.40.0020.02711.24
4.3.30.0030.01811.24
4.3.20.0060.01311.24
4.3.10.0010.01811.24
4.3.00.0020.01511.24

preferences:
44.44 ms | 401 KiB | 5 Q