3v4l.org

run code in 300+ PHP versions simultaneously
<?php $default = array( // physical path of YOURLS root 'ABSPATH' => str_replace( '\\', '/', __DIR__ ), // physical path of includes directory 'INC' => array( 'ABSPATH', '/includes' ), // physical path and url of asset directory 'ASSET_DIR' => array( 'ABSPATH', '/assets' ), 'ASSET_URL' => array( 'SITE', '/assets' ), // physical path and url of user directory 'USER_DIR' => array( 'ABSPATH', '/user' ), 'USER_URL' => array( 'SITE', '/user' ), // physical path of translations directory 'LANG_DIR' => array( 'USER_DIR', '/languages' ), // physical path and url of plugins directory 'PLUGIN_DIR' => array( 'USER_DIR', '/plugins' ), 'PLUGIN_URL' => array( 'USER_URL', '/plugins' ), // physical path and url of themes directory 'THEME_DIR' => array( 'USER_DIR', '/themes' ), 'THEME_URL' => array( 'USER_URL', '/themes' ), // physical path of pages directory 'PAGE_DIR' => array( 'USER_DIR', '/pages' ), // admin pages location 'ADMIN_LOCATION' => 'admin', // table to store URLs 'DB_TABLE_URL' => array( 'DB_PREFIX', 'url' ), // table to store options 'DB_TABLE_OPTIONS' => array( 'DB_PREFIX', 'options' ), // table to store hits, for stats 'DB_TABLE_LOG' => array( 'DB_PREFIX', 'log' ), // minimum delay in sec before a same IP can add another URL. Note: logged in users are not throttled down. 'FLOOD_DELAY_SECONDS' => 15, // comma separated list of IPs that can bypass flood check. 'FLOOD_IP_WHITELIST' => '', 'COOKIE_LIFE' => 60*60*24*7, // life span of a nonce in seconds 'NONCE_LIFE' => 43200, // 3600 *,12 // if set to true, disable stat logging (no use for it, too busy servers, ...) 'check_update' => false, // if set to true, force https:// in the admin area 'ADMIN_SSL' => false, // if set to true, verbose debug infos. Will break things. Don't enable. 'DEBUG' => false, ); var_dump($default);

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.40.0070.01118.67
8.3.30.0150.00018.92
8.3.20.0040.00420.07
8.3.10.0030.00522.11
8.3.00.0030.00522.21
8.2.170.0140.00422.96
8.2.160.0070.01019.20
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0050.00226.16
8.2.120.0060.00319.56
8.2.110.0040.00420.44
8.2.100.0070.00417.72
8.2.90.0030.00618.28
8.2.80.0040.00418.09
8.2.70.0000.01117.50
8.2.60.0030.00517.63
8.2.50.0060.00317.63
8.2.40.0000.01217.62
8.2.30.0060.00317.75
8.2.20.0000.00817.68
8.2.10.0000.00717.70
8.2.00.0040.00417.67
8.1.270.0060.00322.05
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0000.00922.07
8.1.230.0090.00323.74
8.1.220.0050.00317.76
8.1.210.0060.00318.77
8.1.200.0030.00717.35
8.1.190.0000.00817.13
8.1.180.0000.00818.10
8.1.170.0000.00718.96
8.1.160.0000.00718.87
8.1.150.0040.00418.53
8.1.140.0000.00817.34
8.1.130.0030.00317.69
8.1.120.0030.00317.27
8.1.110.0080.00017.36
8.1.100.0040.00417.36
8.1.90.0030.00517.42
8.1.80.0040.00417.31
8.1.70.0030.00317.39
8.1.60.0030.00617.48
8.1.50.0040.00417.50
8.1.40.0040.00417.36
8.1.30.0060.00317.49
8.1.20.0040.00417.59
8.1.10.0030.00517.39
8.1.00.0000.00817.35
8.0.300.0040.00420.08
8.0.290.0000.00716.63
8.0.280.0000.00818.01
8.0.270.0070.00017.82
8.0.260.0030.00316.81
8.0.250.0030.00316.89
8.0.240.0050.00316.79
8.0.230.0000.00716.82
8.0.220.0030.00316.82
8.0.210.0000.00716.85
8.0.200.0000.00816.86
8.0.190.0050.00316.92
8.0.180.0040.00416.75
8.0.170.0060.00316.83
8.0.160.0050.00216.77
8.0.150.0050.00316.74
8.0.140.0070.00016.70
8.0.130.0060.00013.26
8.0.120.0040.00416.84
8.0.110.0070.00016.69
8.0.100.0070.00016.79
8.0.90.0040.00416.86
8.0.80.0100.01316.78
8.0.70.0000.00716.84
8.0.60.0070.00016.62
8.0.50.0040.00416.79
8.0.30.0130.00817.09
8.0.20.0070.01617.40
8.0.10.0050.00316.78
8.0.00.0120.00916.70
7.4.330.0030.00315.00
7.4.320.0060.00016.45
7.4.300.0060.00016.47
7.4.290.0030.00316.59
7.4.280.0050.00216.48
7.4.270.0000.00716.44
7.4.260.0030.00316.48
7.4.250.0050.00316.51
7.4.240.0040.00416.45
7.4.230.0030.00316.52
7.4.220.0120.01216.45
7.4.210.0070.01016.41
7.4.200.0040.00416.26
7.4.190.0000.00716.41
7.4.160.0160.00416.61
7.4.150.0090.01117.40
7.4.140.0160.00317.86
7.4.130.0090.01116.54
7.4.120.0130.00716.39
7.4.110.0110.01116.42
7.4.100.0090.00916.42
7.4.90.0070.01116.55
7.4.80.0060.01219.39
7.4.70.0110.00816.47
7.4.60.0030.01916.31
7.4.50.0000.00616.25
7.4.40.0000.01422.77
7.4.30.0060.01616.30
7.4.00.0080.01015.02
7.3.330.0020.00212.95
7.3.320.0000.00512.96
7.3.310.0090.00016.28
7.3.300.0040.00416.20
7.3.290.0090.01216.25
7.3.280.0090.00816.17
7.3.270.0090.00917.40
7.3.260.0120.00916.51
7.3.250.0050.01416.36
7.3.240.0190.00316.32
7.3.230.0140.00616.50
7.3.210.0120.01216.19
7.3.200.0050.01319.39
7.3.190.0140.00616.42
7.3.180.0060.00916.55
7.3.170.0060.01116.51
7.3.160.0130.00316.36
7.3.120.0100.00814.75
7.3.110.0110.00714.72
7.3.100.0070.01014.76
7.3.90.0090.00614.81
7.3.80.0060.00914.67
7.3.70.0060.00914.53
7.3.60.0050.00814.70
7.3.50.0050.00714.86
7.3.40.0060.01014.75
7.3.30.0020.00914.78
7.3.20.0070.00916.51
7.3.10.0070.00616.49
7.3.00.0070.00716.46
7.2.330.0150.00616.59
7.2.320.0070.01416.71
7.2.310.0150.01216.43
7.2.300.0040.01416.52
7.2.290.0140.00616.59
7.2.250.0100.00814.92
7.2.240.0070.01214.89
7.2.230.0070.00814.95
7.2.220.0030.01314.86
7.2.210.0060.01014.96
7.2.200.0050.01214.96
7.2.190.0090.00614.95
7.2.180.0040.00914.89
7.2.170.0090.00314.98
7.2.160.0130.00015.09
7.2.150.0090.00016.79
7.2.140.0050.00516.82
7.2.130.0060.00616.47
7.2.120.0150.00016.54
7.2.110.0070.00716.91
7.2.100.0030.00616.83
7.2.90.0100.00316.66
7.2.80.0030.01316.75
7.2.70.0060.00916.77
7.2.60.0050.00716.65
7.2.50.0030.01016.94
7.2.40.0000.01316.91
7.2.30.0090.00616.76
7.2.20.0070.00716.95
7.2.10.0030.01016.84
7.2.00.0100.00716.84
7.1.330.0090.00515.65
7.1.320.0120.00315.71
7.1.310.0060.00815.58
7.1.300.0060.00815.61
7.1.290.0050.01015.72
7.1.280.0070.00815.77
7.1.270.0070.00515.62
7.1.260.0050.01015.59
7.1.250.0080.00015.57
7.1.240.0060.00915.55
7.1.230.0040.01115.62
7.1.220.0100.00315.67
7.1.210.0070.00315.80
7.1.200.0050.00715.82
7.1.190.0090.00315.44
7.1.180.0060.00915.71
7.1.170.0000.00915.86
7.1.160.0110.00415.88
7.1.150.0000.00815.89
7.1.140.0100.00315.72
7.1.130.0030.00615.55
7.1.120.0100.00615.64
7.1.110.0000.01415.84
7.1.100.0040.01115.91
7.1.90.0120.00315.54
7.1.80.0030.01215.41
7.1.70.0050.00716.36
7.1.60.0070.01217.77
7.1.50.0110.00716.44
7.1.40.0070.00715.61
7.1.30.0090.00015.82
7.1.20.0120.00315.71
7.1.10.0070.00715.74
7.1.00.0050.04219.21
7.0.330.0100.00315.39
7.0.320.0060.00915.42
7.0.310.0100.00715.40
7.0.300.0040.00715.42
7.0.290.0040.00715.20
7.0.280.0070.01015.14
7.0.270.0080.00415.27
7.0.260.0070.01015.32
7.0.250.0060.00315.42
7.0.240.0060.00615.44
7.0.230.0090.00015.46
7.0.220.0000.01815.36
7.0.210.0090.00415.54
7.0.200.0040.00616.00
7.0.190.0110.00315.31
7.0.180.0030.01015.39
7.0.170.0080.00615.40
7.0.160.0040.00415.14
7.0.150.0040.01115.41
7.0.140.0080.03818.61
7.0.130.0070.00315.00
7.0.120.0060.00915.39
7.0.110.0080.00415.12
7.0.100.0030.00615.38
7.0.90.0060.00315.21
7.0.80.0070.00715.24
7.0.70.0130.00315.39
7.0.60.0040.03917.77
7.0.50.0110.04516.64
7.0.40.0050.02716.77
7.0.30.0150.02216.60
7.0.20.0120.02516.79
7.0.10.0190.03916.73
7.0.00.0060.02416.78
5.6.400.0110.00414.56
5.6.390.0000.00914.32
5.6.380.0000.01614.27
5.6.370.0040.01314.18
5.6.360.0120.00314.26
5.6.350.0030.00614.56
5.6.340.0030.01214.41
5.6.330.0120.00614.21
5.6.320.0070.00314.08
5.6.310.0060.00914.54
5.6.300.0000.00914.19
5.6.290.0000.01414.31
5.6.280.0000.04317.55
5.6.270.0060.00914.45
5.6.260.0070.00714.14
5.6.250.0090.00314.05
5.6.240.0080.00314.14
5.6.230.0070.00714.43
5.6.220.0070.01114.16
5.6.210.0090.02917.37
5.6.200.0050.04116.22
5.6.190.0070.04017.58
5.6.180.1660.02317.24
5.6.170.0190.03817.35
5.6.160.0050.03517.33
5.6.150.0100.04216.18
5.6.140.0050.04016.16
5.6.130.0010.02916.18
5.6.120.0100.03517.64
5.6.110.0090.04417.75
5.6.100.0040.04117.71
5.6.90.0050.04017.68
5.6.80.0080.04417.38
5.6.70.2220.02517.37
5.6.60.0080.00414.15
5.6.50.0030.00913.92
5.6.40.0030.01014.41
5.6.30.0100.00314.13
5.6.20.0060.00914.37
5.6.10.0090.00014.15
5.6.00.0070.00714.26
5.5.380.0080.00814.21
5.5.370.0050.00514.34
5.5.360.0060.00913.80
5.5.350.0030.04417.09
5.5.340.0080.02316.00
5.5.330.0030.05017.08
5.5.320.0170.04017.19
5.5.310.0180.04117.25
5.5.300.0020.02715.91
5.5.290.0000.04416.04
5.5.280.0080.04517.74
5.5.270.0080.04217.62
5.5.260.0080.02817.30
5.5.250.0100.04317.44
5.5.240.0030.03116.99
5.5.230.0040.00814.17
5.5.220.0080.00814.20
5.5.210.0080.00414.09
5.5.200.0000.01314.38
5.5.190.0030.00714.35
5.5.180.0110.00314.20
5.5.170.0070.00713.90
5.5.160.0070.00314.40
5.5.150.0000.01114.30
5.5.140.0060.00914.09
5.5.130.0060.00914.04
5.5.120.0070.00414.07
5.5.110.0030.01013.83
5.5.100.0100.00314.19
5.5.90.0060.00614.25
5.5.80.0110.00314.26
5.5.70.0060.00913.90
5.5.60.0060.00314.09
5.5.50.0070.00714.23
5.5.40.0000.01314.30
5.5.30.0030.00914.16
5.5.20.0000.01613.87
5.5.10.0090.00613.72
5.5.00.0040.00814.38
5.4.450.0320.03216.29
5.4.440.0270.02816.32
5.4.430.0060.03116.38
5.4.420.0320.03016.35
5.4.410.0300.02716.06
5.4.400.0380.00515.94
5.4.390.0350.00515.88
5.4.380.0190.02715.81
5.4.370.0370.03415.92
5.4.360.0470.03115.80
5.4.350.0460.02915.91
5.4.340.0320.03315.95
5.4.330.0040.00413.13
5.4.320.0040.02512.79
5.4.310.0060.02612.79
5.4.300.0040.02412.79
5.4.290.0030.02612.79
5.4.280.0090.02212.73
5.4.270.0050.02512.73
5.4.260.0060.02312.73
5.4.250.0080.02212.73
5.4.240.0060.02212.73
5.4.230.0100.01812.72
5.4.220.0040.02312.72
5.4.210.0060.02112.72
5.4.200.0070.02412.72
5.4.190.0050.02312.72
5.4.180.0070.02012.72
5.4.170.0040.02212.73
5.4.160.0050.02212.72
5.4.150.0070.02712.72
5.4.140.0070.02212.56
5.4.130.0060.02212.56
5.4.120.0080.02412.54
5.4.110.0040.02212.54
5.4.100.0060.02312.54
5.4.90.0040.03112.54
5.4.80.0090.02212.54
5.4.70.0070.02412.53
5.4.60.0050.02312.53
5.4.50.0050.01912.53
5.4.40.0060.02212.53
5.4.30.0060.02212.53
5.4.20.0070.02412.53
5.4.10.0050.02212.53
5.4.00.0070.02012.27
5.3.290.0040.02512.96
5.3.280.0040.02412.92
5.3.270.0060.02212.93
5.3.260.0080.02212.92
5.3.250.0070.02412.92
5.3.240.0030.02712.92
5.3.230.0080.02312.92
5.3.220.0040.03012.90
5.3.210.0100.02312.90
5.3.200.0080.02312.90
5.3.190.0040.02812.90
5.3.180.0040.02412.90
5.3.170.0100.02312.90
5.3.160.0050.02812.90
5.3.150.0120.02312.90
5.3.140.0070.02412.89
5.3.130.0090.02212.89
5.3.120.0060.02212.89
5.3.110.0070.02212.89
5.3.100.0070.02112.62
5.3.90.0050.02112.60
5.3.80.0050.02212.60
5.3.70.0100.01912.60
5.3.60.0050.02212.60
5.3.50.0040.02312.56
5.3.40.0070.02112.56
5.3.30.0040.02612.53
5.3.20.0060.02512.42
5.3.10.0090.02112.40
5.3.00.0100.02312.40
5.2.170.0080.0399.17
5.2.160.0120.0249.16
5.2.150.0090.0289.17
5.2.140.0070.0309.16
5.2.130.0070.0289.12
5.2.120.0110.0259.13
5.2.110.0130.0319.13
5.2.100.0130.0379.13
5.2.90.0080.0349.13
5.2.80.0050.0359.12
5.2.70.0050.0339.12
5.2.60.0090.0329.07
5.2.50.0080.0399.05
5.2.40.0070.0289.02
5.2.30.0040.0339.00
5.2.20.0040.0318.98
5.2.10.0080.0378.91
5.2.00.0120.0388.77
5.1.60.0080.0288.06
5.1.50.0040.0268.06
5.1.40.0020.0288.04
5.1.30.0060.0278.39
5.1.20.0050.0318.42
5.1.10.0060.0268.15
5.1.00.0060.0308.14
5.0.50.0080.0266.62
5.0.40.0070.0256.48
5.0.30.0020.0396.29
5.0.20.0030.0206.27
5.0.10.0030.0226.25
5.0.00.0030.0336.23
4.4.90.0030.0174.78
4.4.80.0050.0144.76
4.4.70.0060.0144.75
4.4.60.0030.0164.76
4.4.50.0030.0164.77
4.4.40.0020.0274.71
4.4.30.0060.0144.76
4.4.20.0030.0214.84
4.4.10.0070.0204.85
4.4.00.0020.0344.76
4.3.110.0040.0224.66
4.3.100.0040.0214.66
4.3.90.0040.0214.63
4.3.80.0080.0274.59
4.3.70.0080.0174.63
4.3.60.0030.0224.63
4.3.50.0070.0194.62
4.3.40.0040.0314.54
4.3.30.0050.0193.29
4.3.20.0040.0163.28
4.3.10.0040.0153.23
4.3.00.0100.0206.45

preferences:
36.62 ms | 400 KiB | 5 Q