3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!interface_exists('gmTrackerInterface')) { // require_once(dirname(__FILE__) . '/gmTrackerInterface.php'); } /** * Cookie approval tracking filter * * @package gm_Tracking * @author Pierre GERRIER <pierre@gerrier.fr> * @copyright © 2014 Le Groupe Moniteur */ class CookieApprovalTracking implements gmTrackerInterface { static public function get_tracking_code() { $out = ''; if(!isset($_COOKIE[COOKIE_APPROVAL_NAME])) { $out = '<div id="bandeauCookies" class="bot" data-dom="' . COOKIE_APPROVAL_DOMAIN . '" data-name="' . COOKIE_APPROVAL_NAME . '"> <div>En poursuivant votre navigation sur ce site, vous acceptez l\'utilisation de cookies pour vous proposer des services et offres adapt&eacute;s &agrave; vos centres d\'int&eacute;r&ecirc;t. <a href="#" class="btOk">OK</a> <span class="plus"> <a href="http://www.infopro-digital.com/cookies/" target="_blank"><span class="fleche"></span>En savoir plus</a> <a href="#" class="fermer" title="Fermer">X</a> </span> </div> </div>'; } return $out; } static public function get_admin_bar_label() { return 'Cookie approval ' . (static::$active ? 'Activé' : 'Désactivé'); } static public function get_admin_bar_content() { return false; } } /** * Base interface for user-tracking filters * * @package gm_Tracking * @author Pierre GERRIER <pierre@gerrier.fr> * @copyright © 2013 Le Groupe Moniteur */ interface gmTrackerInterface { /** * Computes the tracking code * * You should override this method when you add * a new tracking filter. * * @return string The tracking markup to be inserted */ static public function get_tracking_code(); /** * Provides the label displayed in the admin bar menu * @return string */ static public function get_admin_bar_label(); /** * Provides the content displayed in the admin bar menu * @return false|string */ static public function get_admin_bar_content(); }

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.0080.00616.50
8.3.50.0110.00622.92
8.3.40.0120.00918.71
8.3.30.0070.01019.01
8.3.20.0080.00020.20
8.3.10.0040.00423.66
8.3.00.0040.00419.13
8.2.180.0060.01216.32
8.2.170.0060.01622.96
8.2.160.0000.01420.31
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0030.00619.20
8.2.110.0030.00620.38
8.2.100.0070.00718.22
8.2.90.0000.00719.25
8.2.80.0050.00317.97
8.2.70.0030.00517.38
8.2.60.0060.00318.03
8.2.50.0050.00318.07
8.2.40.0000.00818.03
8.2.30.0040.00419.38
8.2.20.0000.00817.64
8.2.10.0070.00017.99
8.2.00.0040.00417.56
8.1.280.0100.01025.92
8.1.270.0030.00623.94
8.1.260.0000.00726.35
8.1.250.0000.00828.09
8.1.240.0060.00323.92
8.1.230.0040.00719.05
8.1.220.0000.00817.74
8.1.210.0000.01018.77
8.1.200.0040.00717.22
8.1.190.0060.00317.13
8.1.180.0000.00818.10
8.1.170.0090.00018.58
8.1.160.0040.00422.03
8.1.150.0040.00418.84
8.1.140.0050.00217.42
8.1.130.0000.00617.69
8.1.120.0030.00517.26
8.1.110.0070.00017.40
8.1.100.0000.00817.30
8.1.90.0030.00317.48
8.1.80.0040.00417.40
8.1.70.0000.00617.36
8.1.60.0040.00417.53
8.1.50.0080.00017.32
8.1.40.0050.00517.50
8.1.30.0080.00017.42
8.1.20.0030.00617.52
8.1.10.0050.00217.33
8.1.00.0060.00317.28
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0000.00918.34
8.0.270.0000.00717.16
8.0.260.0060.00017.20
8.0.250.0030.00316.86
8.0.240.0000.00716.91
8.0.230.0080.00016.81
8.0.220.0000.00816.76
8.0.210.0000.00716.76
8.0.200.0030.00316.91
8.0.190.0000.00716.90
8.0.180.0000.00816.80
8.0.170.0040.00416.76
8.0.160.0040.00416.82
8.0.150.0040.00416.79
8.0.140.0040.00416.69
8.0.130.0000.00513.27
8.0.120.0080.00016.80
8.0.110.0040.00416.84
8.0.100.0040.00416.75
8.0.90.0040.00416.84
8.0.80.0070.01516.84
8.0.70.0040.00316.89
8.0.60.0000.00916.77
8.0.50.0000.00716.88
8.0.30.0120.00717.13
8.0.20.0140.01117.40
8.0.10.0000.00716.99
8.0.00.0160.00516.58
7.4.330.0050.00015.00
7.4.320.0060.00016.54
7.4.300.0030.00316.36
7.4.290.0000.00716.46
7.4.280.0030.00316.59
7.4.270.0030.00416.54
7.4.260.0000.01016.56
7.4.250.0040.00416.57
7.4.240.0010.00616.40
7.4.230.0000.00716.30
7.4.220.0090.00916.50
7.4.210.0000.01516.49
7.4.200.0040.00416.54
7.4.160.0160.00016.42
7.4.150.0030.01917.40
7.4.140.0100.00717.86
7.4.130.0060.01216.50
7.4.120.0130.00716.41
7.4.110.0130.00316.40
7.4.100.0130.01016.61
7.4.90.0160.00316.25
7.4.80.0190.00019.39
7.4.70.0070.01716.42
7.4.60.0120.00316.32
7.4.50.0050.00316.49
7.4.40.0070.01016.57
7.4.30.0090.00616.39
7.4.00.0070.00714.88
7.3.330.0000.00513.16
7.3.320.0030.00313.16
7.3.310.0070.00016.12
7.3.300.0030.00316.09
7.3.290.0030.01216.18
7.3.280.0080.01116.20
7.3.270.0030.01417.40
7.3.260.0130.01016.20
7.3.250.0120.00816.36
7.3.240.0060.01516.32
7.3.230.0120.00416.39
7.3.210.0060.01016.39
7.3.200.0100.01219.39
7.3.190.0110.00516.37
7.3.180.0060.00916.16
7.3.170.0120.00316.27
7.3.160.0050.01216.38
7.2.330.0100.01416.60
7.2.320.0090.00916.66
7.2.310.0110.00716.58
7.2.300.0090.01216.62
7.2.290.0080.00816.57
7.2.00.0030.01019.39
7.1.100.0270.00816.97
7.1.70.0040.00417.09
7.1.60.0140.01019.46
7.1.50.0210.01434.80
7.1.00.0000.07722.48
7.0.200.0040.01214.75
7.0.140.0000.07722.04
7.0.60.0270.07320.02
7.0.50.0100.06017.88
7.0.40.0070.08320.02
7.0.30.0430.06720.34
7.0.20.0200.06020.16
7.0.10.0100.03720.06
7.0.00.0270.04020.22
5.6.280.0070.07021.00
5.6.210.0130.07020.68
5.6.200.0100.08318.18
5.6.190.0030.04320.33
5.6.180.0300.07320.52
5.6.170.0270.03720.54
5.6.160.0070.07718.27
5.6.150.0000.04318.17
5.6.140.0030.08018.17
5.6.130.0030.04018.18
5.6.120.0070.08320.91
5.6.110.0070.04021.00
5.6.100.0070.07020.99
5.6.90.0100.06720.98
5.6.80.0230.06720.39
5.5.350.0230.07020.45
5.5.340.0100.06318.05
5.5.330.0070.07020.37
5.5.320.0270.08020.32
5.5.310.0300.06320.41
5.5.300.0070.08017.96
5.5.290.0030.08717.97
5.5.280.0100.07320.70
5.5.270.0070.03720.77
5.5.260.0100.07320.78
5.5.250.0070.06020.63
5.5.240.0230.07320.27
5.4.450.0200.04319.39
5.4.440.0500.04719.27
5.4.430.0070.04319.30
5.4.420.0370.04719.27
5.4.410.0400.04319.39
5.4.400.0300.04019.25
5.4.390.0170.05019.09
5.4.380.0300.05318.53
5.4.370.0330.05018.73
5.4.360.0370.07318.77
5.4.350.0270.08018.72
5.4.340.0230.05718.74
5.4.320.0070.04412.51
5.4.310.0090.05012.51
5.4.300.0040.04212.51
5.4.290.0050.03812.51
5.4.280.0070.03412.41
5.4.270.0110.04112.41
5.4.260.0060.03812.41
5.4.250.0070.03712.40
5.4.240.0100.03812.41
5.4.230.0070.04512.40
5.4.220.0090.03712.39
5.4.210.0030.03812.40
5.4.200.0100.03512.40
5.4.190.0060.04512.39
5.4.180.0080.03412.39
5.4.170.0090.03712.41
5.4.160.0070.03612.40
5.4.150.0070.03512.40
5.4.140.0050.03912.09
5.4.130.0080.03512.07
5.4.120.0100.03712.03
5.4.110.0120.04012.03
5.4.100.0100.03612.02
5.4.90.0120.03612.02
5.4.80.0080.03812.02
5.4.70.0060.03712.02
5.4.60.0030.03712.02
5.4.50.0100.03712.02
5.4.40.0060.03512.01
5.4.30.0100.04312.00
5.4.20.0050.03712.00
5.4.10.0050.03412.01
5.4.00.0020.03911.50
5.3.290.0050.04212.80
5.3.280.0060.04812.71
5.3.270.0070.03812.72
5.3.260.0050.04212.72
5.3.250.0100.04212.72
5.3.240.0050.03812.72
5.3.230.0050.04912.71
5.3.220.0120.04612.68
5.3.210.0080.03812.68
5.3.200.0080.03412.68
5.3.190.0100.03712.68
5.3.180.0070.03912.67
5.3.170.0100.04512.67
5.3.160.0070.03712.68
5.3.150.0030.04112.68
5.3.140.0110.03112.66
5.3.130.0100.05312.65
5.3.120.0070.04312.66
5.3.110.0070.04112.66
5.3.100.0050.03812.13
5.3.90.0070.03712.11
5.3.80.0070.03612.10
5.3.70.0080.03612.10
5.3.60.0080.03512.09
5.3.50.0070.03712.03
5.3.40.0060.05412.03
5.3.30.0070.03611.99
5.3.20.0090.03411.76
5.3.10.0060.03811.74
5.3.00.0090.03511.72
5.2.170.0060.0309.23
5.2.160.0030.0349.23
5.2.150.0030.0379.23
5.2.140.0050.0309.23
5.2.130.0060.0299.18
5.2.120.0040.0359.18
5.2.110.0040.0329.19
5.2.100.0070.0349.19
5.2.90.0080.0379.18
5.2.80.0040.0349.18
5.2.70.0080.0369.18
5.2.60.0090.0299.14
5.2.50.0060.0289.11
5.2.40.0030.0319.09
5.2.30.0070.0279.05
5.2.20.0060.0329.04
5.2.10.0090.0338.95
5.2.00.0060.0308.82
5.1.60.0060.0298.10
5.1.50.0080.0278.10
5.1.40.0080.0208.08
5.1.30.0040.0268.42
5.1.20.0050.0348.45
5.1.10.0110.0248.17
5.1.00.0050.0288.18
5.0.50.0050.0216.65
5.0.40.0050.0216.51
5.0.30.0020.0336.32
5.0.20.0040.0206.29
5.0.10.0040.0246.27
5.0.00.0080.0316.27
4.4.90.0030.0154.78
4.4.80.0040.0154.76
4.4.70.0010.0234.75
4.4.60.0030.0224.75
4.4.50.0070.0154.77
4.4.40.0020.0254.71
4.4.30.0030.0154.76
4.4.20.0030.0154.85
4.4.10.0030.0164.85
4.4.00.0010.0274.76
4.3.110.0040.0184.67
4.3.100.0040.0144.66
4.3.90.0040.0154.63
4.3.80.0040.0244.59
4.3.70.0010.0174.63
4.3.60.0060.0124.63
4.3.50.0030.0164.63
4.3.40.0000.0304.54
4.3.30.0030.0203.30
4.3.20.0030.0193.28
4.3.10.0020.0153.23
4.3.00.0070.01718.56

preferences:
35.59 ms | 401 KiB | 5 Q