3v4l.org

run code in 300+ PHP versions simultaneously
<?php require_once __DIR__ . '/../vendor/autoload.php'; /** Read configuration, cached or otherwise **/ $parser = new \Aurex\Framework\Config\Parser(new \Symfony\Component\Yaml\Parser); $cacher = (new \Aurex\Framework\Config\ParserCacherFactory)->make(); $parserCacher = new \Aurex\Framework\Config\ParserCacher($parser, $cacher); $config = $parserCacher->parseConfig(__DIR__ . '/../lib/Application/Config/global.yml'); /** Create relevant Environment **/ $environment = (new \Aurex\Framework\Environment\EnvironmentFactory)->create( $config['environment']['name'], $config['environment']['dir'] === '~' ? null : $config['environment']['dir'] ); /** Parse environment-specific configuration file **/ $configFile = sprintf('%s/../lib/Application/Config/%s.yml', __DIR__, $config['environment']['name']); $config = array_merge($config, $parserCacher->parseConfig($configFile)); /** Parse routes file **/ $routesFile = sprintf('%s/../lib/Application/Config/routes.yml', __DIR__); $config = array_merge($config, $parserCacher->parseConfig($routesFile)); /** Parse security file **/ $securityFile = sprintf('%s/../lib/Application/Config/security.yml', __DIR__); $config = array_merge($config, $parserCacher->parseConfig($securityFile)); /** Create the Auryn Dependency Injector **/ $injector = new \Auryn\Provider(new \Auryn\ReflectionPool); /** Create the object that decorates the Silex application **/ $aurex = new \Aurex\Framework\Aurex($environment, $injector, $config); /** Plug and play all the modules **/ $loader = new \Aurex\Framework\Module\ModuleLoader; foreach ($config['modules'] as $moduleName) { $loader->load($aurex, $moduleName); } /** Custom bootstrapping **/ require_once __DIR__ . '/../lib/Application/index.php'; /** Doctrine cli-config also uses this bootstrap for db etc, so don't run HTTP stuff if cli is being used **/ isset($cli) ?: $aurex->run();

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.5.30.0100.00817.42
8.5.20.0060.00316.71
8.5.10.0110.00619.91
8.5.00.0090.01220.07
8.4.180.0130.00920.64
8.4.170.0120.00923.86
8.4.160.0100.01423.78
8.4.150.0020.00416.92
8.4.140.0070.00319.53
8.4.130.0110.01017.95
8.4.120.0130.00620.53
8.4.110.0030.00722.52
8.4.100.0160.00617.96
8.4.90.0120.00818.98
8.4.80.0120.00718.15
8.4.70.0100.01117.89
8.4.60.0100.00218.97
8.4.50.0130.00719.84
8.4.40.0100.01019.52
8.4.30.0160.00317.67
8.4.20.0100.01017.59
8.4.10.0060.00317.88
8.3.300.0130.00920.76
8.3.290.0090.01120.35
8.3.280.0110.01118.65
8.3.270.0130.00816.76
8.3.260.0090.01116.79
8.3.250.0040.00418.82
8.3.240.0090.01116.62
8.3.230.0110.00916.84
8.3.220.0110.00817.28
8.3.210.0150.00416.66
8.3.200.0060.00216.70
8.3.190.0110.01019.15
8.3.180.0110.00816.84
8.3.170.0120.00616.66
8.3.160.0120.00616.91
8.3.150.0160.00017.23
8.3.140.0170.00016.59
8.3.130.0040.00418.39
8.3.120.0060.00319.08
8.3.110.0050.00320.94
8.3.100.0000.01524.06
8.3.90.0070.00726.77
8.3.80.0090.00017.97
8.3.70.0050.01016.61
8.3.60.0120.00316.49
8.3.50.0070.01221.88
8.3.40.0110.00318.68
8.3.30.0070.00719.22
8.3.20.0000.00720.20
8.3.10.0040.00421.86
8.3.00.0060.00319.00
8.2.300.0110.00918.18
8.2.290.0080.01120.34
8.2.280.0110.00718.49
8.2.270.0040.01517.12
8.2.260.0040.01119.21
8.2.250.0080.00018.92
8.2.240.0130.00616.95
8.2.230.0040.00422.58
8.2.220.0050.00337.54
8.2.210.0000.01526.77
8.2.200.0060.00316.75
8.2.190.0110.00818.79
8.2.180.0110.01116.88
8.2.170.0040.01122.96
8.2.160.0140.00322.13
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.64
8.2.110.0030.00620.52
8.2.100.0090.00318.03
8.2.90.0000.00919.22
8.2.80.0090.00017.97
8.2.70.0040.00417.63
8.2.60.0050.00318.04
8.2.50.0060.00318.07
8.2.40.0050.00318.20
8.2.30.0000.00719.44
8.2.20.0030.00617.79
8.2.10.0050.00318.17
8.2.00.0000.00717.78
8.1.340.0140.00721.55
8.1.330.0090.00921.86
8.1.320.0120.00716.11
8.1.310.0070.00716.55
8.1.300.0130.00618.49
8.1.290.0070.00430.84
8.1.280.0070.01325.92
8.1.270.0060.00320.71
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.83
8.1.230.0030.00719.15
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0030.00617.22
8.1.180.0030.00618.10
8.1.170.0000.00818.59
8.1.160.0040.00421.95
8.1.150.0070.00018.80
8.1.140.0040.00417.36
8.1.130.0070.00017.87
8.1.120.0000.00817.43
8.1.110.0030.00517.40
8.1.100.0040.00417.32
8.1.90.0000.00717.46
8.1.80.0040.00417.46
8.1.70.0070.00017.48
8.1.60.0000.00817.61
8.1.50.0080.00017.45
8.1.40.0000.00817.46
8.1.30.0000.00817.61
8.1.20.0040.00417.59
8.1.10.0000.00717.48
8.1.00.0000.00817.54
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0000.00718.61
8.0.270.0040.00417.37
8.0.260.0070.00017.37
8.0.250.0030.00316.98
8.0.240.0050.00317.02
8.0.230.0000.00717.15
8.0.220.0030.00316.98
8.0.210.0040.00416.93
8.0.200.0030.00317.09
8.0.190.0030.00517.03
8.0.180.0040.00417.04
8.0.170.0000.00817.14
8.0.160.0040.00417.17
8.0.150.0030.00616.91
8.0.140.0050.00517.09
8.0.130.0030.00313.52
8.0.120.0040.00417.02
8.0.110.0000.00717.06
8.0.100.0000.00816.89
8.0.90.0030.00616.93
8.0.80.0110.00717.09
8.0.70.0050.00316.95
8.0.60.0040.00417.05
8.0.50.0070.00017.11
8.0.30.0120.01617.22
8.0.20.0130.01017.40
8.0.10.0080.00016.86
8.0.00.0150.00416.72
7.4.330.0020.00215.15
7.4.320.0040.00416.54
7.4.300.0000.00716.54
7.4.290.0030.00316.50
7.4.280.0080.00416.58
7.4.270.0030.00316.64
7.4.260.0000.00716.61
7.4.250.0080.00016.50
7.4.240.0040.00416.55
7.4.230.0000.00716.72
7.4.220.0120.00616.63
7.4.210.0060.00916.53
7.4.200.0000.00716.55
7.4.160.0040.01216.54
7.4.150.0120.00617.40
7.4.140.0100.01117.86
7.4.130.0100.01016.43
7.4.120.0100.00716.38
7.4.110.0100.01316.46
7.4.100.0110.00716.61
7.4.90.0030.01416.50
7.4.80.0130.00619.39
7.4.70.0110.00616.57
7.4.60.0000.01716.60
7.4.50.0040.00016.78
7.4.40.0070.01316.63
7.4.30.0110.00516.29
7.4.00.0070.00715.14
7.3.330.0000.00613.04
7.3.320.0050.00013.15
7.3.310.0040.00416.14
7.3.300.0030.00316.24
7.3.290.0090.00816.30
7.3.280.0060.01416.33
7.3.270.0030.01717.40
7.3.260.0110.00616.30
7.3.250.0090.00916.39
7.3.240.0050.01116.49
7.3.230.0110.00716.39
7.3.210.0070.01016.30
7.3.200.0110.00519.39
7.3.190.0060.01016.28
7.3.180.0130.00316.60
7.3.170.0090.00916.59
7.3.160.0060.01216.36
7.3.10.0070.00716.55
7.3.00.0030.01116.45
7.2.330.0140.00316.46
7.2.320.0070.01616.41
7.2.310.0100.00716.50
7.2.300.0120.00916.39
7.2.290.0070.01016.65
7.2.130.0080.00716.55
7.2.120.0070.00816.81
7.2.110.0050.00916.72
7.2.100.0100.00316.77
7.2.90.0110.00316.77
7.2.80.0050.00816.88
7.2.70.0100.00516.94
7.2.60.0070.00716.78
7.2.50.0080.00516.71
7.2.40.0110.00516.70
7.2.30.0080.00816.82
7.2.20.0030.00916.90
7.2.10.0060.00816.92
7.2.00.0080.00616.79
7.1.250.0060.00815.59
7.1.200.0080.00415.68
7.1.70.0000.00916.68
7.1.60.0120.01219.46
7.1.50.0040.00716.90
7.1.00.0030.07722.55
7.0.200.0000.01116.53
7.0.140.0030.05022.11
7.0.100.0070.08319.95
7.0.90.0030.05719.97
7.0.80.0100.07719.95
7.0.70.0100.08319.93
7.0.60.0100.08019.88
7.0.50.0070.06720.30
7.0.40.0000.05020.15
7.0.30.0030.08720.07
7.0.20.0100.05020.15
7.0.10.0070.04720.03
7.0.00.0170.06719.95
5.6.280.0030.07321.04
5.6.250.0100.07020.64
5.6.240.0130.05720.65
5.6.230.0100.07720.71
5.6.220.0030.05020.63
5.6.210.0100.07720.59
5.6.200.0100.09021.04
5.6.190.0130.06721.04
5.6.180.0100.06320.96
5.6.170.0030.05321.03
5.6.160.0030.05720.95
5.6.150.0000.08321.13
5.6.140.0100.03721.03
5.6.130.0070.08720.97
5.6.120.0070.08321.15
5.6.110.0030.07321.01
5.6.100.0100.07021.07
5.6.90.0030.08320.93
5.6.80.0030.07320.36
5.6.70.0070.08320.41
5.6.60.0100.07720.49
5.6.50.0130.06720.41
5.6.40.0030.07320.30
5.6.30.0100.08020.44
5.6.20.0130.06720.45
5.6.10.0000.05020.51
5.6.00.0030.06320.34
5.5.380.0070.08320.46
5.5.370.0100.06720.43
5.5.360.0070.08720.39
5.5.350.0130.07020.46
5.5.340.0170.07320.75
5.5.330.0070.04320.90
5.5.320.0100.04320.93
5.5.310.0100.04320.65
5.5.300.0070.08020.79
5.5.290.0170.07320.80
5.5.280.0070.08320.81
5.5.270.0000.04720.64
5.5.260.0100.08020.86
5.5.250.0100.07720.65
5.5.240.0100.08020.20
5.5.230.0030.04720.19
5.5.220.0070.08020.03
5.5.210.0170.06320.30
5.5.200.0130.04019.97
5.5.190.0070.07320.13
5.5.180.0100.08320.24
5.5.160.0030.04020.23
5.5.150.0070.05720.18
5.5.140.0100.04020.07
5.5.130.0070.07720.24
5.5.120.0030.07020.23
5.5.110.0030.07320.24
5.5.100.0030.06720.03
5.5.90.0100.07320.18
5.5.80.0000.08320.09
5.5.70.0070.08020.12
5.5.60.0100.04320.17
5.5.50.0070.04320.02
5.5.40.0100.06720.13
5.5.30.0100.07720.00
5.5.20.0100.06720.05
5.5.10.0030.04720.05
5.5.00.0100.06020.03
5.4.450.0070.07319.30
5.4.440.0070.03319.45
5.4.430.0100.07319.57
5.4.420.0170.06319.45
5.4.410.0070.07719.18
5.4.400.0100.07319.07
5.4.390.0100.05319.09
5.4.380.0070.08019.15
5.4.370.0070.07719.05
5.4.360.0170.05318.82
5.4.350.0100.07319.04
5.4.340.0000.05018.98
5.4.320.0000.04018.82
5.4.310.0000.07318.83
5.4.300.0100.07018.98
5.4.290.0030.06319.03
5.4.280.0100.07019.10
5.4.270.0170.06318.97
5.4.260.0070.04319.13
5.4.250.0000.06719.23
5.4.240.0030.04719.07
5.4.230.0070.07719.12
5.4.220.0070.08019.04
5.4.210.0100.06319.03
5.4.200.0030.04719.04
5.4.190.0030.04319.05
5.4.180.0000.04019.10
5.4.170.0130.05718.98
5.4.160.0100.07318.79
5.4.150.0070.06319.02
5.4.140.0070.08016.28
5.4.130.0130.05316.33
5.4.120.0070.07316.27
5.4.110.0100.07016.33
5.4.100.0130.05016.28
5.4.90.0070.04016.41
5.4.80.0070.04316.25
5.4.70.0030.05316.36
5.4.60.0130.06016.31
5.4.50.0000.04716.31
5.4.40.0000.07316.27
5.4.30.0000.04016.21
5.4.20.0070.05316.38
5.4.10.0030.07716.42
5.4.00.0070.06015.51
5.3.290.0000.04014.66
5.3.280.0070.06014.46
5.3.270.0000.07014.48
5.3.260.0170.03014.59
5.3.250.0100.07014.57
5.3.240.0130.06014.61
5.3.230.0030.07314.51
5.3.220.0100.07014.52
5.3.210.0130.07014.53
5.3.200.0070.07014.48
5.3.190.0070.06314.55
5.3.180.0070.07314.43
5.3.170.0030.04314.50
5.3.160.0100.05714.56
5.3.150.0100.03714.39
5.3.140.0030.08314.54
5.3.130.0070.04314.51
5.3.120.0070.03714.51
5.3.110.0070.04714.51
5.3.100.0100.05313.98
5.3.90.0030.04313.96
5.3.80.0100.05314.01
5.3.70.0130.05713.91
5.3.60.0100.03713.94
5.3.50.0130.03013.80
5.3.40.0030.05313.80
5.3.30.0030.06713.86
5.3.20.0070.07313.64
5.3.10.0000.07713.52
5.3.00.0000.07713.40
5.2.170.0070.06011.01
5.2.160.0070.03311.06
5.2.150.0030.03710.98
5.2.140.0030.05711.13
5.2.130.0130.05311.15
5.2.120.0030.04011.13
5.2.110.0030.04711.08
5.2.100.0030.06011.15
5.2.90.0030.03010.92
5.2.80.0030.05011.08
5.2.70.0030.05311.09
5.2.60.0070.06010.90
5.2.50.0000.03310.97
5.2.40.0030.03710.99
5.2.30.0030.03311.04
5.2.20.0100.03010.92
5.2.10.0030.06010.90
5.2.00.0030.04310.77
5.1.60.0070.04310.02
5.1.50.0030.05010.09
5.1.40.0070.0509.98
5.1.30.0030.05310.38
5.1.20.0100.02010.43
5.1.10.0030.04010.09
5.1.00.0000.03310.05
5.0.50.0000.0479.08
5.0.40.0030.0439.08
5.0.30.0030.0679.08
5.0.20.0000.0479.08
5.0.10.0000.0479.08
5.0.00.0030.0609.08
4.4.90.0000.0279.08
4.4.80.0070.0279.08
4.4.70.0030.0139.08
4.4.60.0000.0179.08
4.4.50.0030.0239.08
4.4.40.0000.0339.08
4.4.30.0000.0339.08
4.4.20.0000.0279.08
4.4.10.0000.0379.08
4.4.00.0030.0439.08
4.3.110.0100.0279.08
4.3.100.0000.0339.08
4.3.90.0030.0139.08
4.3.80.0030.0479.08
4.3.70.0000.0179.08
4.3.60.0030.0179.08
4.3.50.0000.0379.08
4.3.40.0000.0579.08
4.3.30.0000.0339.08
4.3.20.0070.0239.08
4.3.10.0070.0279.08
4.3.00.0030.0179.08

preferences:
113.73 ms | 2416 KiB | 5 Q