3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Envato_Theme_Setup_Wizard { private static $_instance = null; private $theme_name = ''; private $envato_username = ''; public static function instance() { if ( is_null( self::$_instance ) ) { self::$_instance = new self(); self::$_instance->init_globals(); //self::$_instance->init_actions(); } return self::$_instance; } public function init_globals() { $this->theme_name = 'HOBA'; $this->envato_username = 'THEMETEORY'; $this->oauth_script = 'http://themeteory.com/404.php'; } public function get_theme_name(){ return $this->theme_name; } } //var_dump(Envato_Theme_Setup_Wizard::get_theme_name); $wizard = Envato_Theme_Setup_Wizard::instance(); var_dump( $wizard->get_theme_name() ); //var_dump(Envato_Theme_Setup_Wizard::get_theme_name);

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.0140.00716.88
8.3.50.0070.01421.11
8.3.40.0120.00318.64
8.3.30.0090.00618.76
8.3.20.0040.00420.34
8.3.10.0080.00021.85
8.3.00.0030.00623.48
8.2.180.0070.01118.54
8.2.170.0120.00322.96
8.2.160.0070.00720.48
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.58
8.2.110.0060.00320.93
8.2.100.0080.00417.78
8.2.90.0000.00819.13
8.2.80.0040.00417.97
8.2.70.0000.00917.63
8.2.60.0050.00317.93
8.2.50.0050.00318.07
8.2.40.0000.00822.31
8.2.30.0000.00819.30
8.2.20.0040.00417.52
8.2.10.0030.00717.93
8.2.00.0040.00417.89
8.1.280.0130.00325.92
8.1.270.0090.00624.02
8.1.260.0060.00326.35
8.1.250.0060.00328.09
8.1.240.0030.00523.86
8.1.230.0120.00020.78
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0030.00517.23
8.1.180.0050.00318.10
8.1.170.0000.00818.46
8.1.160.0000.00720.72
8.1.150.0000.00718.84
8.1.140.0040.00419.41
8.1.130.0030.00517.66
8.1.120.0030.00517.41
8.1.110.0040.00417.45
8.1.100.0000.00717.30
8.1.90.0040.00417.48
8.1.80.0040.00417.28
8.1.70.0030.00317.32
8.1.60.0040.00417.61
8.1.50.0080.00017.57
8.1.40.0080.00017.52
8.1.30.0030.00717.52
8.1.20.0000.00717.68
8.1.10.0040.00417.65
8.1.00.0000.00817.39
8.0.300.0000.00718.77
8.0.290.0030.00516.63
8.0.280.0030.00318.30
8.0.270.0040.00417.14
8.0.260.0000.00717.24
8.0.250.0020.00516.91
8.0.240.0020.00516.80
8.0.230.0040.00416.93
8.0.220.0030.00316.81
8.0.210.0000.00716.71
8.0.200.0030.00316.91
8.0.190.0000.00716.88
8.0.180.0000.00716.91
8.0.170.0080.00016.77
8.0.160.0040.00416.93
8.0.150.0060.00316.81
8.0.140.0080.00016.73
8.0.130.0000.00513.28
8.0.120.0000.00816.70
8.0.110.0050.00216.75
8.0.100.0070.00016.69
8.0.90.0040.00416.96
8.0.80.0110.00616.77
8.0.70.0030.00516.87
8.0.60.0000.00716.80
8.0.50.0000.00716.90
8.0.30.0080.01017.24
8.0.20.0090.00917.40
8.0.10.0000.00716.80
8.0.00.0130.00616.83
7.4.330.0020.00216.84
7.4.320.0030.00316.45
7.4.300.0000.00716.54
7.4.290.0000.00716.47
7.4.280.0060.00316.64
7.4.270.0030.00316.41
7.4.260.0070.00016.59
7.4.250.0040.00416.57
7.4.240.0050.00216.54
7.4.230.0070.00016.59
7.4.220.0070.01016.64
7.4.210.0060.01016.60
7.4.200.0030.00416.71
7.4.160.0100.01016.62
7.4.150.0140.00417.40
7.4.140.0130.00817.86
7.4.130.0120.00816.44
7.4.120.0110.01016.61
7.4.110.0120.01216.57
7.4.100.0070.01016.41
7.4.90.0100.00716.75
7.4.80.0130.00919.39
7.4.70.0080.00816.57
7.4.60.0100.00616.48
7.4.50.0030.01016.36
7.4.40.0090.01116.63
7.4.30.0000.01716.52
7.4.00.0060.00814.97
7.3.330.0030.00313.33
7.3.320.0000.00513.18
7.3.310.0030.00316.36
7.3.300.0030.00316.32
7.3.290.0090.00716.30
7.3.280.0090.00916.35
7.3.270.0070.01017.40
7.3.260.0120.00416.69
7.3.250.0130.00316.45
7.3.240.0140.00416.34
7.3.230.0060.01216.61
7.3.210.0070.01016.27
7.3.200.0070.01419.39
7.3.190.0110.00716.45
7.3.180.0120.00916.43
7.3.170.0080.01216.48
7.3.160.0120.00316.49
7.3.120.0080.00715.05
7.3.110.0100.00914.74
7.3.100.0030.01314.85
7.3.90.0030.01314.86
7.3.80.0050.01014.76
7.3.70.0030.01014.86
7.3.60.0100.00514.78
7.3.50.0030.00714.88
7.3.40.0050.01014.70
7.3.30.0060.00714.73
7.3.20.0050.00916.67
7.3.10.0090.00616.60
7.3.00.0060.00616.71
7.2.330.0140.00716.77
7.2.320.0100.00716.79
7.2.310.0180.00416.72
7.2.300.0070.01016.61
7.2.290.0120.00616.71
7.2.250.0070.01315.07
7.2.240.0030.01315.12
7.2.230.0090.00514.95
7.2.220.0050.00915.19
7.2.210.0030.01015.00
7.2.200.0080.00815.09
7.2.190.0090.00715.04
7.2.180.0060.00915.05
7.2.170.0080.00614.96
7.2.160.0060.00915.06
7.2.150.0070.01116.76
7.2.140.0000.01416.97
7.2.130.0060.00916.94
7.2.120.0120.00517.03
7.2.110.0080.00816.92
7.2.100.0100.00916.92
7.2.90.0090.01016.95
7.2.80.0100.00916.77
7.2.70.0070.00917.07
7.2.60.0060.00916.59
7.2.50.0060.00816.76
7.2.40.0140.00516.78
7.2.30.0080.00516.86
7.2.20.0080.00716.89
7.2.10.0050.00816.74
7.2.00.0080.00917.81
7.1.330.0080.00515.54
7.1.320.0030.01215.49
7.1.310.0050.01015.56
7.1.300.0050.01015.65
7.1.290.0090.00515.45
7.1.280.0080.00515.46
7.1.270.0040.00715.67
7.1.260.0070.00715.65
7.1.250.0040.00915.51
7.1.100.0040.00817.81
7.1.70.0080.00817.07
7.1.60.0090.01319.30
7.1.50.0120.00916.86
7.1.00.0000.08022.36
7.0.200.0260.00314.75
7.0.60.0200.07721.80
7.0.50.0130.07317.73
7.0.40.0030.05720.15
7.0.30.0430.07720.21
7.0.20.0200.09020.22
7.0.10.0070.04020.30
7.0.00.0170.08020.19
5.6.280.0070.03021.13
5.6.210.0230.06320.61
5.6.200.0100.05718.19
5.6.190.0130.07720.48
5.6.180.0430.04020.65
5.6.170.0230.07020.40
5.6.160.0100.04720.39
5.6.150.0030.08318.18
5.6.140.0100.04018.17
5.6.130.0070.04018.18
5.6.120.0070.06321.15
5.6.110.0030.06721.02
5.6.100.0070.07721.13
5.6.90.0070.05021.00
5.6.80.0070.05020.54
5.5.350.0170.04020.39
5.5.340.0030.03718.02
5.5.330.0070.05320.13
5.5.320.0670.07020.51
5.5.310.0170.04720.36
5.5.300.0070.08017.94
5.5.290.0070.03717.95
5.5.280.0100.06720.97
5.5.270.0030.05320.77
5.5.260.0070.09020.73
5.5.250.0200.06720.71
5.5.240.0200.07020.27

preferences:
48.69 ms | 401 KiB | 5 Q