3v4l.org

run code in 300+ PHP versions simultaneously
<?php $default = array( // physical path of YOURLS root 'ABSPATH' => str_replace( '\\', '/', __FILE__ ), // 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.60.0040.01118.43
8.3.50.0090.01022.05
8.3.40.0150.00318.63
8.3.30.0100.00719.14
8.3.20.0040.00420.14
8.3.10.0000.00822.05
8.3.00.0080.00020.64
8.2.180.0130.01017.00
8.2.170.0150.00022.96
8.2.160.0150.00019.21
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.01126.16
8.2.120.0080.00819.25
8.2.110.0030.00722.26
8.2.100.0060.00619.51
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0030.00617.47
8.2.60.0090.00017.93
8.2.50.0030.00518.07
8.2.40.0030.00518.09
8.2.30.0000.00718.11
8.2.20.0000.00717.54
8.2.10.0070.00017.60
8.2.00.0000.00917.75
8.1.280.0150.00725.92
8.1.270.0000.00821.84
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.83
8.1.230.0090.00319.05
8.1.220.0040.00417.78
8.1.210.0050.00318.77
8.1.200.0040.00717.23
8.1.190.0000.00817.41
8.1.180.0000.00818.67
8.1.170.0040.00418.46
8.1.160.0070.00022.15
8.1.150.0050.00218.59
8.1.140.0060.00317.44
8.1.130.0030.00317.84
8.1.120.0000.00717.32
8.1.110.0050.00317.40
8.1.100.0040.00417.39
8.1.90.0000.00717.30
8.1.80.0040.00417.45
8.1.70.0070.00017.45
8.1.60.0040.00417.50
8.1.50.0050.00317.50
8.1.40.0030.00517.52
8.1.30.0070.00017.62
8.1.20.0030.00517.62
8.1.10.0060.00317.39
8.1.00.0080.00017.43
8.0.300.0040.00418.77
8.0.290.0070.00017.05
8.0.280.0030.00318.39
8.0.270.0050.00217.13
8.0.260.0030.00316.77
8.0.250.0000.00816.92
8.0.240.0030.00516.93
8.0.230.0070.00016.85
8.0.220.0000.00716.89
8.0.210.0030.00316.84
8.0.200.0070.00016.91
8.0.190.0040.00416.88
8.0.180.0050.00316.84
8.0.170.0040.00416.86
8.0.160.0040.00416.80
8.0.150.0040.00416.75
8.0.140.0000.00716.66
8.0.130.0030.00313.20
8.0.120.0000.00816.75
8.0.110.0000.00816.74
8.0.100.0000.00716.89
8.0.90.0070.00016.75
8.0.80.0120.00316.90
8.0.70.0040.00416.86
8.0.60.0070.00016.83
8.0.50.0050.00216.63
8.0.30.0120.00916.90
8.0.20.0130.00717.40
8.0.10.0040.00416.96
8.0.00.0120.00816.53
7.4.330.0030.00315.02
7.4.320.0050.00216.55
7.4.300.0050.00316.50
7.4.290.0000.00816.43
7.4.280.0040.00416.54
7.4.270.0030.00316.46
7.4.260.0000.00916.51
7.4.250.0000.00716.41
7.4.240.0040.00416.41
7.4.230.0000.00716.48
7.4.220.0130.00616.58
7.4.210.0070.00916.56
7.4.200.0040.00416.64
7.4.190.0040.00416.31
7.4.160.0080.00816.66
7.4.150.0070.01417.40
7.4.140.0130.00717.86
7.4.130.0090.01016.49
7.4.120.0110.01016.38
7.4.110.0070.01016.49
7.4.100.0140.01116.44
7.4.90.0060.01316.41
7.4.80.0040.01519.39
7.4.70.0120.00616.45
7.4.60.0050.01316.54
7.4.50.0000.00516.50
7.4.40.0070.01122.77
7.4.30.0050.01316.53
7.4.00.0100.00314.86
7.3.330.0030.00313.02
7.3.320.0020.00212.94
7.3.310.0030.00316.28
7.3.300.0060.00016.07
7.3.290.0090.00616.26
7.3.280.0090.00916.20
7.3.270.0060.01217.40
7.3.260.0000.02016.35
7.3.250.0090.01116.18
7.3.240.0150.00416.57
7.3.230.0160.00316.58
7.3.210.0120.00816.14
7.3.200.0070.01119.39
7.3.190.0120.01216.50
7.3.180.0150.00616.33
7.3.170.0110.00716.56
7.3.160.0180.00016.27
7.3.120.0070.00714.58
7.2.330.0150.00916.39
7.2.320.0050.01416.64
7.2.310.0100.01316.59
7.2.300.0140.00416.56
7.2.290.0060.01216.59
7.1.70.0030.00717.07
7.1.60.0070.01619.82
7.1.50.0030.00916.91
7.1.00.0070.06722.48
7.0.200.0040.00716.68
7.0.140.0000.07721.97
7.0.60.0100.04719.80
7.0.50.0130.07717.83
7.0.40.0130.08020.06
7.0.30.0330.04720.18
7.0.20.0300.08320.00
7.0.10.0070.08720.18
7.0.00.0030.04720.33
5.6.280.0130.06321.11
5.6.210.0070.05720.62
5.6.200.0100.08318.23
5.6.190.0030.04320.48
5.6.180.0270.07720.43
5.6.170.0330.07720.52
5.6.160.0030.08720.50
5.6.150.0030.08318.12
5.6.140.0030.04018.11
5.6.130.0100.08018.21
5.6.120.0070.04021.02
5.6.110.0030.04321.01
5.6.100.0100.08021.00
5.6.90.0030.09321.00
5.6.80.0030.03720.41
5.6.70.4630.03320.50
5.5.350.0130.07320.32
5.5.340.0070.08317.92
5.5.330.0070.03720.36
5.5.320.0330.07720.27
5.5.310.0170.04720.50
5.5.300.0030.04017.94
5.5.290.0030.07017.91
5.5.280.0130.06320.84
5.5.270.0030.08720.64
5.5.260.0070.08320.75
5.5.250.0170.07720.61
5.5.240.0100.07320.16
5.4.450.0670.05319.63
5.4.440.0670.05319.47
5.4.430.0130.05719.63
5.4.420.0730.04019.13
5.4.410.0800.05319.34
5.4.400.0770.00018.68
5.4.390.0830.00018.79
5.4.380.0270.05718.46
5.4.370.0470.04318.50
5.4.360.0370.04718.78
5.4.350.0230.05018.74
5.4.340.0300.05018.70
5.4.320.0090.03512.46
5.4.310.0090.04812.46
5.4.300.0090.03912.46
5.4.290.0050.03912.46
5.4.280.0170.04112.33
5.4.270.0070.03612.33
5.4.260.0070.03912.33
5.4.250.0080.03712.33
5.4.240.0070.04812.33
5.4.230.0090.04612.32
5.4.220.0070.03812.32
5.4.210.0080.03712.32
5.4.200.0120.04812.32
5.4.190.0050.04312.32
5.4.180.0060.03712.32
5.4.170.0120.05312.33
5.4.160.0090.03512.33
5.4.150.0140.04612.32
5.4.140.0090.03812.00
5.4.130.0070.04011.99
5.4.120.0090.03911.95
5.4.110.0090.04411.95
5.4.100.0200.04211.95
5.4.90.0140.03111.95
5.4.80.0100.04511.95
5.4.70.0080.05011.95
5.4.60.0390.06511.95
5.4.50.0090.04011.94
5.4.40.0070.03911.93
5.4.30.0070.04111.93
5.4.20.0080.04111.93
5.4.10.0090.05611.93
5.4.00.0080.05011.42
5.3.290.0070.04312.80
5.3.280.0090.04212.71
5.3.270.0070.03912.72
5.3.260.0090.04212.72
5.3.250.0050.04212.72
5.3.240.0080.05112.72
5.3.230.0090.04312.71
5.3.220.0100.05112.68
5.3.210.0080.05312.68
5.3.200.0120.03912.68
5.3.190.0080.03812.68
5.3.180.0100.04412.67
5.3.170.0110.03412.67
5.3.160.0100.04612.68
5.3.150.0070.05112.67
5.3.140.0090.05112.66
5.3.130.0080.04112.66
5.3.120.0100.03612.66
5.3.110.0070.03912.66
5.3.100.0080.03612.12
5.3.90.0080.03612.09
5.3.80.0060.03812.07
5.3.70.0080.04012.07
5.3.60.0090.03712.06
5.3.50.0060.03712.00
5.3.40.0110.04112.00
5.3.30.0070.03611.94
5.3.20.0110.03411.71
5.3.10.0150.04011.68
5.3.00.0080.03711.67
5.2.170.0050.0329.16
5.2.160.0100.0289.16
5.2.150.0060.0309.16
5.2.140.0040.0329.16
5.2.130.0080.0269.13
5.2.120.0070.0299.12
5.2.110.0080.0299.13
5.2.100.0050.0309.13
5.2.90.0080.0449.13
5.2.80.0070.0339.12
5.2.70.0050.0319.11
5.2.60.0080.0349.07
5.2.50.0060.0309.05
5.2.40.0060.0289.02
5.2.30.0060.0349.00
5.2.20.0040.0328.99
5.2.10.0030.0328.92
5.2.00.0090.0378.78
5.1.60.0020.0348.06
5.1.50.0050.0248.06
5.1.40.0070.0328.04
5.1.30.0070.0278.39
5.1.20.0040.0308.41
5.1.10.0090.0238.14
5.1.00.0080.0318.15
5.0.50.0070.0246.62
5.0.40.0020.0226.48
5.0.30.0050.0326.29
5.0.20.0050.0186.27
5.0.10.0050.0196.25
5.0.00.0060.0286.23
4.4.90.0020.0174.78
4.4.80.0040.0154.75
4.4.70.0040.0154.75
4.4.60.0030.0164.75
4.4.50.0040.0154.77
4.4.40.0030.0264.71
4.4.30.0030.0214.76
4.4.20.0030.0234.84
4.4.10.0040.0204.85
4.4.00.0040.0244.76
4.3.110.0040.0164.67
4.3.100.0040.0144.67
4.3.90.0060.0124.63
4.3.80.0030.0294.58
4.3.70.0040.0214.63
4.3.60.0060.0164.63
4.3.50.0040.0204.63
4.3.40.0060.0294.54
4.3.30.0000.0233.29
4.3.20.0080.0163.28
4.3.10.0050.0203.24
4.3.00.0030.0276.97

preferences:
42.14 ms | 401 KiB | 5 Q