3v4l.org

run code in 300+ PHP versions simultaneously
<?php // uncomment the following to define a path alias // Yii::setPathOfAlias('local','path/to/local-folder'); // This is the main Web application configuration. Any writable // CWebApplication properties can be configured here. return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'Video Chat', // Default app lang 'language'=>'en', 'defaultController' => 'Videochat', // preloading 'log' component 'preload'=>array('log'), // autoloading model and component classes 'import'=>array( 'application.models.*', 'application.components.*', ), // application components 'components'=>array( 'user'=>array( 'allowAutoLogin'=>false, 'loginUrl' => array('videochat/login'), 'returnUrl' => array('videochat/index'), ), 'db'=>array( 'connectionString' => 'mysql:host=localhost;dbname=videochat', 'emulatePrepare' => true, 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'tablePrefix' => 'vc_', 'schemaCachingDuration' => 60 * 60 * 24 * 30, 'enableParamLogging' => false, 'enableProfiling' => false, ), 'cache'=>array( 'class'=>'CFileCache', ), /*'errorHandler'=>array( // use 'site/error' action to display errors 'errorAction'=>'site/error', ),*/ 'log'=>array( 'class'=>'CLogRouter', 'routes'=>array( array( 'class'=>'CFileLogRoute', 'levels'=>'error, warning', //'levels'=>'trace, info', ), // uncomment the following to show log messages on web pages /*array( 'class'=>'CWebLogRoute', ),*/ ), ), ), // application-level parameters that can be accessed // using Yii::app()->params['paramName'] 'params'=>array( 'tokenTime' => time() + 60 * 60 * 1, 'clearKey' => false, 'default_timezone' => 'Europe/Vilnius', // http://www.php.net/manual/en/timezones.php 'sessIntTime' => 50 * 1000, // Milliseconds 50 * 1000 ms == 50 sec 'dataSync' => 5 * 1000, // Milliseconds. Informer and online users 'chatActivity' => array( // NoActivity => Time between requests 0 => 1 * 1000, 3 => 2 * 1000, 10 => 5 * 1000, 20 => 15 * 1000, 30 => 30 * 1000, ), ), );

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.0.120.0060.00413.21
8.0.110.0040.00413.32
8.0.100.0080.00013.21
8.0.90.0000.00913.23
8.0.80.0040.00413.22
8.0.70.0060.00313.21
8.0.60.0030.00313.20
8.0.50.0040.00413.15
8.0.30.0080.00013.22
8.0.20.0040.00413.27
8.0.10.0030.00513.25
8.0.00.0040.00413.27
7.4.250.0040.00413.13
7.4.240.0080.00013.17
7.4.230.0000.00713.11
7.4.220.0050.00313.02
7.4.210.0000.00713.14
7.4.200.0020.00413.12
7.4.190.0050.00013.24
7.4.180.0060.00013.17
7.4.160.0050.00013.16
7.4.150.0000.00613.11
7.4.140.0000.00713.00
7.4.130.0030.00312.98
7.4.120.0000.00913.12
7.4.110.0020.00613.05
7.4.100.0030.00313.07
7.4.90.0000.00612.65
7.4.80.0070.00013.07
7.4.70.0000.00613.01
7.4.60.0000.00612.71
7.4.50.0030.00312.91
7.4.40.0030.00313.02
7.4.30.0030.00313.01
7.4.20.0030.00313.06
7.4.10.0040.00813.79
7.4.00.0020.01113.98
7.3.310.0000.00713.02
7.3.300.0000.00713.05
7.3.290.0070.00012.93
7.3.280.0040.00412.96
7.3.270.0000.00612.94
7.3.260.0000.00713.09
7.3.250.0000.00812.79
7.3.240.0130.00012.98
7.3.230.0080.00413.03
7.3.220.0090.00312.88
7.3.210.0060.00612.79
7.3.200.0080.00312.88
7.3.190.0100.00512.97
7.3.180.0140.00012.88
7.3.170.0140.00312.96
7.3.160.0110.00312.87
7.3.150.0110.00512.91
7.3.140.0100.00712.90
7.3.130.0110.00413.81
7.3.120.0100.00513.75
7.3.110.0090.00613.83
7.3.100.0060.00813.88
7.3.90.0050.00913.87
7.3.80.0080.00613.82
7.3.70.0090.00613.83
7.3.60.0130.00713.96
7.3.50.0080.00713.80
7.3.40.0100.00414.02
7.3.30.0080.00813.93
7.3.20.0100.00515.74
7.3.10.0030.00915.65
7.3.00.0090.00315.74
7.2.340.0070.00713.09
7.2.330.0080.00513.10
7.2.320.0000.01313.03
7.2.310.0110.00013.20
7.2.300.0110.00312.99
7.2.290.0100.00613.26
7.2.280.0080.00813.11
7.2.270.0060.01113.17
7.2.260.0060.01213.97
7.2.250.0050.00914.03
7.2.240.0060.01014.06
7.2.230.0090.00813.99
7.2.220.0080.00714.04
7.2.210.0100.00414.01
7.2.200.0090.00713.91
7.2.190.0050.00814.08
7.2.180.0090.00314.11
7.2.170.0060.00914.14
7.2.160.0080.00714.11
7.2.150.0040.01116.00
7.2.140.0080.00615.92
7.2.130.0130.00116.03
7.2.120.0080.00516.05
7.2.110.0080.00715.90
7.2.100.0090.00416.05
7.2.90.0080.00715.98
7.2.80.0120.00315.92
7.2.70.0060.00615.99
7.2.60.0110.00616.21
7.2.50.0100.00516.24
7.2.40.0120.00215.93
7.2.30.0090.00415.94
7.2.20.0100.00416.05
7.2.10.0040.00816.01
7.2.00.0070.00616.96
7.1.330.0080.00514.85
7.1.320.0090.00314.79
7.1.310.0060.00714.94
7.1.300.0040.01014.95
7.1.290.0090.00414.66
7.1.280.0080.00414.92
7.1.270.0080.00514.90
7.1.260.0090.00514.84
7.1.250.0120.00114.64
7.1.240.0100.00514.84
7.1.230.0070.00714.76
7.1.220.0110.00314.90
7.1.210.0050.00614.95
7.1.200.0080.00615.15
7.1.190.0070.00414.83
7.1.180.0090.00314.93
7.1.170.0060.00714.88
7.1.160.0030.00814.77
7.1.150.0100.00214.84
7.1.140.0100.00214.80
7.1.130.0080.00514.93
7.1.120.0050.00814.92
7.1.110.0050.00914.83
7.1.100.0060.00714.90
7.1.90.0090.00514.99
7.1.80.0050.00614.97
7.1.70.0080.00515.53
7.1.60.0090.00515.67
7.1.50.0080.00514.85
7.1.40.0080.00514.77
7.1.30.0120.00014.74
7.1.20.0120.00014.78
7.1.10.0090.00314.80
7.1.00.0070.02817.31
7.0.330.0070.00614.65
7.0.320.0080.00514.59
7.0.310.0080.00514.62
7.0.300.0050.00614.56
7.0.290.0050.00914.57
7.0.280.0090.00314.61
7.0.270.0100.00314.67
7.0.260.0020.01014.51
7.0.250.0100.00414.73
7.0.240.0090.00414.65
7.0.230.0090.00514.49
7.0.220.0110.00114.54
7.0.210.0020.01014.56
7.0.200.0140.00314.60
7.0.190.0030.01014.67
7.0.180.0020.00914.67
7.0.170.0070.00614.64
7.0.160.0100.00414.54
7.0.150.0110.00114.69
7.0.140.0080.00714.60
7.0.130.0070.02217.16
7.0.120.0100.01917.05
7.0.110.0050.02617.05
7.0.100.0090.02117.05
7.0.90.0040.02517.07
7.0.80.0050.02317.11
7.0.70.0070.02217.06
7.0.60.0090.02217.10
7.0.50.0030.02317.02
7.0.40.0050.02316.45
7.0.30.0050.02316.51
7.0.20.0100.01916.43
7.0.10.0070.02216.40
7.0.00.0100.02316.35
5.6.400.0080.00313.32
5.6.390.0070.00613.37
5.6.380.0080.00213.28
5.6.370.0060.00713.39
5.6.360.0090.00313.44
5.6.350.0080.00513.24
5.6.340.0040.00613.31
5.6.330.0060.00513.30
5.6.320.0060.00413.32
5.6.310.0070.00313.38
5.6.300.0090.00513.31
5.6.290.0030.01013.33
5.6.280.0100.01915.91
5.6.270.0060.02415.92
5.6.260.0090.02016.09
5.6.250.0080.02016.10
5.6.240.0070.02615.97
5.6.230.0120.02115.86
5.6.220.0030.02616.04
5.6.210.0030.02715.95
5.6.200.0070.02315.97
5.6.190.0110.02215.99
5.6.180.0090.01915.88
5.6.170.0100.01915.95
5.6.160.0050.02815.94
5.6.150.0080.02516.00
5.6.140.0050.02415.95
5.6.130.0080.02015.92
5.6.120.0080.02115.93
5.6.110.0070.02315.83
5.6.100.0070.02215.90
5.6.90.0080.02015.80
5.6.80.0080.02615.67
5.6.70.0080.02215.59
5.6.60.0080.02215.72
5.6.50.0100.01715.58
5.6.40.0110.02015.65
5.6.30.0100.02115.81
5.6.20.0070.02415.62
5.6.10.0070.02915.57
5.6.00.0090.02215.57

preferences:
45.03 ms | 401 KiB | 5 Q