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 protected $active = true; static public function get_tracking_code() { $out = ''; if(static::$active && !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; } }

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.70.0140.00716.75
8.3.60.0040.01116.71
8.3.50.0100.00722.86
8.3.40.0090.00618.84
8.3.30.0100.01019.16
8.3.20.0030.00520.34
8.3.10.0050.00323.68
8.3.00.0040.00419.38
8.2.180.0120.00616.50
8.2.170.0090.01222.96
8.2.160.0040.01120.40
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0040.00719.31
8.2.110.0060.00322.24
8.2.100.0070.00417.91
8.2.90.0040.00417.72
8.2.80.0060.00317.97
8.2.70.0060.00317.50
8.2.60.0050.00317.93
8.2.50.0050.00318.07
8.2.40.0000.00817.91
8.2.30.0000.00719.36
8.2.20.0000.00817.69
8.2.10.0020.00518.01
8.2.00.0070.00017.64
8.1.280.0150.00625.92
8.1.270.0100.00022.14
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0030.00723.79
8.1.230.0060.00618.88
8.1.220.0080.00017.74
8.1.210.0090.00018.91
8.1.200.0110.00017.13
8.1.190.0050.00317.09
8.1.180.0050.00318.10
8.1.170.0060.00318.61
8.1.160.0040.00422.03
8.1.150.0050.00218.86
8.1.140.0070.00017.45
8.1.130.0000.00717.75
8.1.120.0000.00717.32
8.1.110.0080.00017.30
8.1.100.0070.00017.36
8.1.90.0000.00717.30
8.1.80.0000.00817.40
8.1.70.0030.00317.37
8.1.60.0040.00417.58
8.1.50.0040.00417.37
8.1.40.0040.00417.43
8.1.30.0040.00417.60
8.1.20.0040.00417.62
8.1.10.0030.00617.41
8.1.00.0060.00317.34
8.0.300.0020.00519.89
8.0.290.0000.00716.75
8.0.280.0040.00418.39
8.0.270.0030.00317.25
8.0.260.0000.00817.25
8.0.250.0000.00716.96
8.0.240.0030.00317.05
8.0.230.0000.00716.93
8.0.220.0000.00716.97
8.0.210.0020.00516.94
8.0.200.0060.00017.03
8.0.190.0030.00617.03
8.0.180.0030.00316.99
8.0.170.0050.00217.01
8.0.160.0030.00516.95
8.0.150.0050.00317.03
8.0.140.0030.00316.91
8.0.130.0000.00613.42
8.0.120.0080.00016.84
8.0.110.0070.00017.01
8.0.100.0000.00816.84
8.0.90.0040.00416.88
8.0.80.0060.01016.87
8.0.70.0080.00016.89
8.0.60.0070.00016.93
8.0.50.0020.00517.00
8.0.30.0130.00717.12
8.0.20.0160.00617.40
8.0.10.0070.00016.89
8.0.00.0050.01216.74
7.4.330.0000.00515.00
7.4.320.0030.00316.50
7.4.300.0030.00316.47
7.4.290.0070.00016.44
7.4.280.0030.00316.47
7.4.270.0040.00416.57
7.4.260.0000.00716.58
7.4.250.0040.00416.43
7.4.240.0020.00516.48
7.4.230.0030.00316.40
7.4.220.0090.00916.61
7.4.210.0070.01016.53
7.4.200.0040.00416.57
7.4.160.0110.00516.36
7.4.150.0080.01217.40
7.4.140.0070.01017.86
7.4.130.0110.00616.34
7.4.120.0110.00616.52
7.4.110.0070.01016.34
7.4.100.0120.00316.66
7.4.90.0090.00916.54
7.4.80.0060.01619.39
7.4.70.0120.00616.43
7.4.60.0070.01016.35
7.4.50.0040.00416.43
7.4.40.0040.01216.46
7.4.30.0070.01016.35
7.4.10.0060.01016.32
7.4.00.0050.01115.85
7.3.330.0030.00313.19
7.3.320.0030.00313.25
7.3.310.0030.00316.32
7.3.300.0000.00716.27
7.3.290.0030.01016.27
7.3.280.0100.00916.24
7.3.270.0250.02217.40
7.3.260.0080.00816.52
7.3.250.0060.01316.41
7.3.240.0150.01516.39
7.3.230.0070.01016.39
7.3.210.0060.01516.34
7.3.200.0090.00619.39
7.3.190.0060.01116.48
7.3.180.0060.00916.39
7.3.170.0060.01616.54
7.3.160.0170.00016.47
7.3.130.0100.01016.32
7.3.120.0040.01516.30
7.3.110.0070.01016.28
7.3.100.0030.01316.39
7.3.90.0060.00916.32
7.3.80.0080.00816.32
7.3.70.0070.00716.34
7.3.60.0030.01416.14
7.3.50.0070.00716.29
7.3.40.0140.00016.27
7.3.30.0100.00316.39
7.3.20.0060.01018.02
7.3.10.0040.01118.06
7.3.00.0080.00318.08
7.2.330.0130.01016.51
7.2.320.0130.00316.30
7.2.310.0140.00716.32
7.2.300.0100.00716.33
7.2.290.0110.00716.57
7.2.260.0140.00416.23
7.2.250.0140.00716.52
7.2.240.0030.00716.53
7.2.230.0000.01216.50
7.2.220.0000.01516.57
7.2.210.0070.00716.26
7.2.200.0060.00916.44
7.2.190.0120.00316.23
7.2.180.0060.00616.20
7.2.170.0090.00916.45
7.2.160.0030.01516.34
7.2.150.0030.01318.07
7.2.140.0040.01518.16
7.2.130.0030.01018.27
7.2.120.0000.01418.38
7.2.110.0160.00018.35
7.2.100.0070.00718.45
7.2.90.0040.01118.23
7.2.80.0060.00618.09
7.2.70.0070.01318.20
7.2.60.0140.00317.50
7.2.50.0130.00318.19
7.2.40.0090.00618.29
7.2.30.0030.01218.36
7.2.20.0030.01318.21
7.2.10.0030.00918.20
7.2.00.0070.00718.67
7.1.330.0070.00717.25
7.1.320.0060.00617.38
7.1.310.0070.01117.31
7.1.300.0030.00917.18
7.1.290.0070.01017.23
7.1.280.0030.00917.16
7.1.270.0100.00617.25
7.1.260.0000.01717.22
7.1.250.0000.01417.16
7.1.240.0070.01017.25
7.1.230.0110.00717.32
7.1.220.0070.01017.13
7.1.210.0040.00817.21
7.1.200.0030.00816.40
7.1.190.0080.00817.09
7.1.180.0060.01317.11
7.1.170.0090.00617.07
7.1.160.0070.01117.05
7.1.150.0060.00617.13
7.1.140.0090.00617.14
7.1.130.0110.00017.19
7.1.120.0060.01017.27
7.1.110.0000.01117.11
7.1.100.0140.01117.20
7.1.90.0120.00317.22
7.1.80.0060.00617.28
7.1.70.0010.00917.16
7.1.60.0100.00718.37
7.1.50.0100.01626.02
7.1.40.0090.00417.16
7.1.30.0070.00717.20
7.1.20.0040.00717.19
7.1.10.0030.01017.27
7.1.00.0130.03519.77
7.0.330.0080.00816.66
7.0.320.0000.00916.90
7.0.310.0070.01016.75
7.0.300.0060.00617.09
7.0.290.0030.00716.98
7.0.280.0040.01117.04
7.0.270.0040.00716.93
7.0.260.0000.01017.14
7.0.250.0070.00717.09
7.0.240.0060.00917.06
7.0.230.0050.00516.99
7.0.220.0000.00917.04
7.0.210.0060.00917.14
7.0.200.0130.00416.72
7.0.190.0030.00916.98
7.0.180.0080.00816.93
7.0.170.0120.00416.96
7.0.160.0070.00416.91
7.0.150.0030.01316.96
7.0.140.0050.04119.50
7.0.130.0030.01417.02
7.0.120.0000.01217.02
7.0.110.0070.01017.03
7.0.100.0070.01116.91
7.0.90.0070.00716.96
7.0.80.0000.01017.06
7.0.70.0060.00616.94
7.0.60.0130.03718.44
7.0.50.0080.02217.38
7.0.40.0050.04517.48
7.0.30.0200.04017.54
7.0.20.0120.03817.49
7.0.10.0070.02717.58
7.0.00.0040.05017.52
5.6.400.0000.00915.81
5.6.390.0060.00615.51
5.6.380.0050.00516.02
5.6.370.0110.00615.95
5.6.360.0090.00316.17
5.6.350.0060.00615.72
5.6.340.0030.01315.59
5.6.330.0000.01415.86
5.6.320.0040.00815.59
5.6.310.0160.00015.54
5.6.300.0070.00715.89
5.6.290.0110.00415.88
5.6.280.0050.04218.37
5.6.270.0000.01415.96
5.6.260.0000.01815.55
5.6.250.0000.01515.85
5.6.240.0060.01316.04
5.6.230.0070.00715.63
5.6.220.0030.01315.72
5.6.210.0050.04318.29
5.6.200.0110.04116.94
5.6.190.0030.02717.94
5.6.180.0140.02718.12
5.6.170.0170.03418.17
5.6.160.0050.02717.00
5.6.150.0050.02117.02
5.6.140.0100.04016.93
5.6.130.0070.02517.09
5.6.120.0100.04718.44
5.6.110.0010.02718.39
5.6.100.0050.04718.44
5.6.90.0080.04518.30
5.6.80.0100.04018.14
5.6.70.0030.00915.65
5.6.60.0080.00815.61
5.6.50.0070.00715.73
5.6.40.0100.00615.70
5.6.30.0030.01215.80
5.6.20.0040.01215.55
5.6.10.0000.01215.63
5.6.00.0070.01015.62
5.5.380.0070.01315.59
5.5.370.0060.00615.57
5.5.360.0080.00415.84
5.5.350.0130.03918.15
5.5.340.0030.04716.82
5.5.330.0030.02818.14
5.5.320.0140.02718.00
5.5.310.0150.02518.07
5.5.300.0040.02716.87
5.5.290.0100.03916.86
5.5.280.0090.04418.18
5.5.270.0090.02318.21
5.5.260.0070.02418.19
5.5.250.0070.03818.18
5.5.240.0130.02817.87
5.5.230.0000.01115.54
5.5.220.0040.00815.66
5.5.210.0070.01115.54
5.5.200.0040.00815.48
5.5.190.0120.00315.63
5.5.180.0050.00515.53
5.5.170.0040.01115.74
5.5.160.0120.00315.75
5.5.150.0030.00715.74
5.5.140.0030.01315.72
5.5.130.0100.00315.39
5.5.120.0130.00315.82
5.5.110.0030.00715.46
5.5.100.0090.00615.57
5.5.90.0030.01415.72
5.5.80.0060.00315.69
5.5.70.0070.00715.72
5.5.60.0060.00615.66
5.5.50.0030.00615.63
5.5.40.0070.01015.61
5.5.30.0030.01315.66
5.5.20.0000.01515.62
5.5.10.0030.01015.68
5.5.00.0030.00615.66
5.4.450.0220.02816.36
5.4.440.0070.02916.48
5.4.430.0130.02516.54
5.4.420.0130.02316.42
5.4.410.0130.02116.44
5.4.400.0110.02016.28
5.4.390.0230.02516.26
5.4.380.0250.02216.12
5.4.370.0170.03516.01
5.4.360.0150.02716.07
5.4.350.0120.03416.09
5.4.340.0170.03216.07
5.4.330.0110.00013.54
5.4.320.0060.02213.03
5.4.310.0040.02813.03
5.4.300.0020.02613.02
5.4.290.0040.02213.03
5.4.280.0040.02612.97
5.4.270.0060.02412.97
5.4.260.0100.03112.97
5.4.250.0090.02812.97
5.4.240.0040.02412.97
5.4.230.0030.02712.97
5.4.220.0020.02412.97
5.4.210.0080.01812.97
5.4.200.0020.02512.97
5.4.190.0070.02512.97
5.4.180.0060.02212.97
5.4.170.0060.02412.97
5.4.160.0050.02612.97
5.4.150.0100.02312.97
5.4.140.0050.02212.81
5.4.130.0050.02712.80
5.4.120.0060.02712.78
5.4.110.0060.02812.78
5.4.100.0070.02612.78
5.4.90.0090.02512.78
5.4.80.0070.02112.78
5.4.70.0060.01812.78
5.4.60.0050.02012.78
5.4.50.0050.02712.78
5.4.40.0060.02412.77
5.4.30.0050.02112.77
5.4.20.0060.01912.77
5.4.10.0060.02112.77
5.4.00.0060.02012.52
5.3.290.0100.05112.80
5.3.280.0100.04912.71
5.3.270.0120.05012.72
5.3.260.0090.03712.72
5.3.250.0100.04012.72
5.3.240.0090.03712.72
5.3.230.0060.03812.71
5.3.220.0070.03612.68
5.3.210.0050.04012.68
5.3.200.0050.03612.68
5.3.190.0140.03512.68
5.3.180.0040.05712.67
5.3.170.0050.04412.67
5.3.160.0070.04612.67
5.3.150.0090.04512.67
5.3.140.0060.03612.66
5.3.130.0090.04312.66
5.3.120.0070.04812.66
5.3.110.0060.03812.66
5.3.100.0070.04612.13
5.3.90.0060.04112.12
5.3.80.0080.03512.10
5.3.70.0070.04912.11
5.3.60.0090.04712.09
5.3.50.0070.03712.03
5.3.40.0070.03612.03
5.3.30.0070.03411.99
5.3.20.0080.03311.77
5.3.10.0060.03411.75
5.3.00.0100.03311.73
5.2.170.0050.0319.23
5.2.160.0060.0299.23
5.2.150.0080.0399.23
5.2.140.0040.0329.22
5.2.130.0080.0289.18
5.2.120.0030.0309.18
5.2.110.0060.0299.19
5.2.100.0050.0289.18
5.2.90.0070.0279.18
5.2.80.0040.0319.17
5.2.70.0060.0309.18
5.2.60.0060.0399.13
5.2.50.0060.0379.10
5.2.40.0090.0409.08
5.2.30.0030.0339.05
5.2.20.0070.0369.04
5.2.10.0050.0418.95
5.2.00.0060.0358.81
5.1.60.0060.0308.10
5.1.50.0040.0258.10
5.1.40.0030.0268.07
5.1.30.0080.0278.42
5.1.20.0080.0358.44
5.1.10.0070.0328.17
5.1.00.0040.0378.17
5.0.50.0070.0256.64
5.0.40.0040.0236.51
5.0.30.0050.0306.32
5.0.20.0050.0186.28
5.0.10.0040.0206.26
5.0.00.0020.0326.26
4.4.90.0040.0184.78
4.4.80.0120.0224.75
4.4.70.0030.0174.75
4.4.60.0040.0154.76
4.4.50.0040.0144.77
4.4.40.0030.0254.71
4.4.30.0040.0254.76
4.4.20.0050.0204.84
4.4.10.0040.0164.85
4.4.00.0050.0344.76
4.3.110.0040.0204.67
4.3.100.0020.0184.66
4.3.90.0040.0174.63
4.3.80.0040.0264.58
4.3.70.0050.0194.63
4.3.60.0050.0224.63
4.3.50.0040.0214.63
4.3.40.0020.0294.54
4.3.30.0040.0243.30
4.3.20.0010.0243.28
4.3.10.0020.0193.23
4.3.00.0000.01718.56

preferences:
86.78 ms | 401 KiB | 5 Q