3v4l.org

run code in 300+ PHP versions simultaneously
<?php $default = array( // physical path of YOURLS root 'ABSPATH' => str_replace( '\\', '/', dirname( dirname( __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.60.0100.01018.40
8.3.50.0080.00821.14
8.3.40.0100.01018.79
8.3.30.0100.00320.20
8.3.20.0080.00020.33
8.3.10.0000.00822.09
8.3.00.0050.00322.40
8.2.180.0070.01516.48
8.2.170.0180.00422.96
8.2.160.0040.01122.11
8.2.150.0040.00424.18
8.2.140.0030.00724.66
8.2.130.0080.00026.16
8.2.120.0030.00520.66
8.2.110.0030.00719.00
8.2.100.0050.00917.91
8.2.90.0030.00617.75
8.2.80.0040.00418.03
8.2.70.0050.00517.80
8.2.60.0030.00618.08
8.2.50.0060.00318.10
8.2.40.0040.00419.89
8.2.30.0050.00319.32
8.2.20.0000.00817.73
8.2.10.0030.00617.70
8.2.00.0030.00517.76
8.1.280.0100.01025.92
8.1.270.0030.00523.99
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0050.00519.16
8.1.230.0060.00619.01
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0040.00717.23
8.1.190.0030.00717.13
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0080.00418.71
8.1.150.0000.00718.63
8.1.140.0080.00017.27
8.1.130.0020.00517.83
8.1.120.0000.00717.32
8.1.110.0080.00317.27
8.1.100.0070.00017.45
8.1.90.0070.00017.39
8.1.80.0000.00717.33
8.1.70.0000.00717.30
8.1.60.0080.00017.52
8.1.50.0000.00817.35
8.1.40.0040.00417.48
8.1.30.0040.00417.54
8.1.20.0080.00017.54
8.1.10.0040.00417.57
8.1.00.0080.00017.43
8.0.300.0030.00621.51
8.0.290.0040.00416.59
8.0.280.0030.00318.39
8.0.270.0080.00017.25
8.0.260.0030.00316.78
8.0.250.0000.00716.82
8.0.240.0080.00016.92
8.0.230.0000.00716.78
8.0.220.0030.00316.77
8.0.210.0030.00516.88
8.0.200.0040.00416.75
8.0.190.0050.00316.96
8.0.180.0070.00016.92
8.0.170.0000.00816.86
8.0.160.0030.00516.92
8.0.150.0000.00716.68
8.0.140.0000.00816.79
8.0.130.0000.00713.31
8.0.120.0070.00414.95
8.0.110.0070.00115.04
8.0.100.0060.00214.92
8.0.90.0030.00514.92
8.0.80.0120.00214.98
8.0.70.0080.00015.05
8.0.60.0020.00515.05
8.0.50.0040.00414.97
8.0.30.0100.00915.72
8.0.20.0080.00916.03
8.0.10.0020.00615.17
8.0.00.0110.00515.60
7.4.330.0060.00015.00
7.4.320.0040.00416.52
7.4.300.0020.00516.40
7.4.290.0030.00316.46
7.4.280.0000.00716.47
7.4.270.0000.00716.52
7.4.260.0030.00313.21
7.4.250.0010.00514.77
7.4.240.0050.00215.47
7.4.230.0020.00614.94
7.4.220.0090.00414.90
7.4.210.0080.00915.83
7.4.200.0060.00414.76
7.4.190.0030.00614.87
7.4.180.0070.00013.30
7.4.160.0060.00714.92
7.4.150.0040.00915.27
7.4.140.0090.00916.28
7.4.130.0130.00415.32
7.4.120.0100.00715.28
7.4.110.0140.00714.73
7.4.100.0150.00114.84
7.4.90.0080.00714.84
7.4.80.0090.00716.25
7.4.70.0100.00514.77
7.4.60.0120.00214.72
7.4.50.0080.00214.79
7.4.40.0090.00417.92
7.4.30.0100.00514.84
7.4.20.0060.00613.03
7.4.10.0070.00513.13
7.4.00.0070.00613.99
7.3.330.0060.00013.14
7.3.320.0000.00713.11
7.3.310.0000.00914.54
7.3.300.0060.00314.48
7.3.290.0110.00314.56
7.3.280.0080.00715.44
7.3.270.0070.00815.18
7.3.260.0130.00714.65
7.3.250.0070.00915.36
7.3.240.0050.00914.59
7.3.230.0090.00614.63
7.3.220.0090.00313.14
7.3.210.0110.00414.68
7.3.200.0080.00716.22
7.3.190.0080.00514.71
7.3.180.0100.00614.55
7.3.170.0110.00414.79
7.3.160.0120.00314.68
7.3.150.0040.00213.00
7.3.140.0080.00012.99
7.3.130.0050.00013.11
7.3.120.0000.00913.93
7.3.110.0020.00412.90
7.3.100.0070.00212.80
7.3.90.0060.00013.16
7.3.80.0060.00012.93
7.3.70.0070.00013.26
7.3.60.0060.00013.25
7.3.50.0030.00313.17
7.3.40.0030.00313.21
7.3.30.0000.00713.19
7.3.20.0050.00214.86
7.3.10.0050.00515.68
7.3.00.0040.00815.95
7.2.340.0030.01113.16
7.2.330.0130.00414.85
7.2.320.0140.00514.74
7.2.310.0080.00814.73
7.2.300.0110.00314.94
7.2.290.0090.00714.73
7.2.280.0130.00013.16
7.2.270.0130.00313.09
7.2.260.0110.00413.14
7.2.250.0060.00613.18
7.2.240.0100.00313.05
7.2.230.0080.00513.09
7.2.220.0140.00013.08
7.2.210.0100.00213.08
7.2.200.0080.00613.32
7.2.190.0090.00313.13
7.2.180.0090.00313.40
7.2.170.0090.00313.34
7.2.160.0120.00013.17
7.2.150.0060.00714.92
7.2.140.0080.00415.14
7.2.130.0080.00516.19
7.2.120.0110.00116.27
7.2.110.0070.00616.27
7.2.100.0050.00816.22
7.2.90.0090.00416.21
7.2.80.0100.00316.35
7.2.70.0070.00616.17
7.2.60.0080.00616.22
7.2.50.0050.00716.24
7.2.40.0070.00616.13
7.2.30.0080.00416.14
7.2.20.0060.00816.28
7.2.10.0080.00416.25
7.2.00.0070.00717.00
7.1.330.0070.00514.14
7.1.320.0120.00014.16
7.1.310.0120.00014.13
7.1.300.0120.00014.14
7.1.290.0080.00414.20
7.1.280.0040.00814.01
7.1.270.0090.00314.16
7.1.260.0070.00514.17
7.1.250.0090.00215.13
7.1.240.0090.00414.80
7.1.230.0030.00714.90
7.1.220.0040.00815.07
7.1.210.0070.00714.92
7.1.200.0080.00214.77
7.1.190.0040.00714.92
7.1.180.0060.00414.87
7.1.170.0060.00414.80
7.1.160.0060.00514.90
7.1.150.0080.00414.87
7.1.140.0060.00414.88
7.1.130.0060.00714.77
7.1.120.0060.00814.90
7.1.110.0110.00214.87
7.1.100.0050.00815.87
7.1.90.0080.00314.88
7.1.80.0060.00614.94
7.1.70.0060.00515.52
7.1.60.0080.00916.34
7.1.50.0140.00821.46
7.1.40.0070.00714.78
7.1.30.0080.00514.90
7.1.20.0030.00914.80
7.1.10.0100.00214.79
7.1.00.0070.02717.44
7.0.330.0050.00614.58
7.0.320.0080.00614.55
7.0.310.0060.00514.47
7.0.300.0070.00414.57
7.0.290.0080.00314.47
7.0.280.0070.00414.73
7.0.270.0080.00314.47
7.0.260.0060.00514.48
7.0.250.0100.00214.69
7.0.240.0070.00314.64
7.0.230.0070.00414.49
7.0.220.0070.00314.49
7.0.210.0070.00314.70
7.0.200.0120.00514.75
7.0.190.0050.00714.65
7.0.180.0080.00414.58
7.0.170.0040.00614.38
7.0.160.0060.00614.66
7.0.150.0070.00314.62
7.0.140.0070.02516.98
7.0.130.0100.00314.56
7.0.120.0070.00414.71
7.0.110.0100.00114.67
7.0.100.0070.03216.40
7.0.90.0140.02716.29
7.0.80.0190.02416.25
7.0.70.0120.02616.33
7.0.60.0070.02116.38
7.0.50.0030.02216.58
7.0.40.0050.01815.83
7.0.30.0010.02115.78
7.0.20.0040.02015.68
7.0.10.0090.01415.67
7.0.00.0080.01415.80
5.6.400.0040.00712.52
5.6.390.0090.00312.67
5.6.380.0050.00613.48
5.6.370.0020.00913.36
5.6.360.0060.00613.29
5.6.350.0070.00613.49
5.6.340.0040.00813.29
5.6.330.0050.00513.42
5.6.320.0050.00613.51
5.6.310.0070.00413.17
5.6.300.0080.00413.49
5.6.290.0060.00613.29
5.6.280.0060.02715.88
5.6.270.0050.00413.38
5.6.260.0050.00513.35
5.6.250.0050.03115.79
5.6.240.0070.03115.90
5.6.230.0080.03015.80
5.6.220.0090.02215.77
5.6.210.0090.02715.88
5.6.200.0070.01916.10
5.6.190.0070.01515.95
5.6.180.0050.01815.96
5.6.170.0020.02215.97
5.6.160.0070.02015.94
5.6.150.0080.01616.02
5.6.140.0080.01415.97
5.6.130.0080.01815.92
5.6.120.0080.01615.92
5.6.110.0070.01615.92
5.6.100.0090.01015.88
5.6.90.0050.01815.86
5.6.80.0060.01715.69
5.6.70.0070.01615.72
5.6.60.0090.01415.78
5.6.50.0040.01515.72
5.6.40.0050.01415.78
5.6.30.0030.02115.66
5.6.20.0040.01615.53
5.6.10.0030.01815.66
5.6.00.0070.01315.57
5.5.380.0060.02114.77
5.5.370.0080.02814.79
5.5.360.0060.02714.75
5.5.350.0100.01614.70
5.5.340.0040.02014.89
5.5.330.0050.01714.81
5.5.320.0060.01814.81
5.5.310.0040.02014.81
5.5.300.0040.02014.87
5.5.290.0080.01414.75
5.5.280.0060.01914.83
5.5.270.0050.01714.80
5.5.260.0050.01814.78
5.5.250.0030.02114.85
5.5.240.0060.01414.69
5.5.230.0100.00914.70
5.5.220.0030.01714.62
5.5.210.0070.02014.71
5.5.200.0030.02014.61
5.5.190.0060.01514.69
5.5.180.0030.01614.54
5.5.170.0050.00411.86
5.5.160.0050.01714.58
5.5.150.0070.01214.57
5.5.140.0110.00814.61
5.5.130.0050.01414.54
5.5.120.0040.01614.57
5.5.110.0070.01414.58
5.5.100.0080.01414.65
5.5.90.0050.02814.52
5.5.80.0030.03114.57
5.5.70.0050.02814.58
5.5.60.0100.02514.57
5.5.50.0090.01614.61
5.5.40.0060.02414.58
5.5.30.0080.02714.64
5.5.20.0060.03114.61
5.5.10.0040.02114.54
5.5.00.0080.02714.58
5.4.450.0040.01714.34
5.4.440.0050.01914.33
5.4.430.0020.01714.46
5.4.420.0080.01214.38
5.4.410.0040.01614.23
5.4.400.0050.01514.14
5.4.390.0030.01514.19
5.4.380.0030.01614.25
5.4.370.0060.01414.25
5.4.360.0060.01314.26
5.4.350.0070.01514.24
5.4.340.0060.01114.09
5.4.330.0050.00511.87
5.4.320.0050.01614.32
5.4.310.0060.01214.23
5.4.300.0070.01314.29
5.4.290.0030.01814.22
5.4.280.0020.01514.26
5.4.270.0070.01314.29
5.4.260.0020.02414.20
5.4.250.0050.01614.09
5.4.240.0060.03214.28
5.4.230.0090.02514.18
5.4.220.0070.02014.19
5.4.210.0070.02814.18
5.4.200.0070.02514.18
5.4.190.0060.01414.16
5.4.180.0040.03014.08
5.4.170.0020.02814.18
5.4.160.0060.02414.18
5.4.150.0050.02614.26
5.4.140.0070.02813.34
5.4.130.0080.02313.33
5.4.120.0080.02213.31
5.4.110.0040.03113.34
5.4.100.0090.03013.28
5.4.90.0070.02513.24
5.4.80.0090.01413.27
5.4.70.0100.02213.38
5.4.60.0070.02513.38
5.4.50.0070.02613.27
5.4.40.0090.02113.37
5.4.30.0070.02813.31
5.4.20.0070.01813.43
5.4.10.0080.01513.36
5.4.00.0050.02713.09
5.3.290.0040.01513.02
5.3.280.0060.01712.96
5.3.270.0050.02512.99
5.3.260.0040.01712.83
5.3.250.0050.03112.83
5.3.240.0060.02612.88
5.3.230.0050.01712.89
5.3.220.0100.02112.91
5.3.210.0080.01312.93
5.3.200.0030.01912.92
5.3.190.0060.03012.96
5.3.180.0080.02212.90
5.3.170.0040.01612.87
5.3.160.0040.02612.88
5.3.150.0050.01712.93
5.3.140.0070.02812.95
5.3.130.0080.02312.88
5.3.120.0070.02712.79
5.3.110.0080.02612.95
5.3.100.0080.02712.66
5.3.90.0060.02712.75
5.3.80.0060.01812.62
5.3.70.0050.02712.65
5.3.60.0040.02912.67
5.3.50.0030.01712.64
5.3.40.0100.01712.61
5.3.30.0060.02812.58
5.3.20.0050.02712.64
5.3.10.0090.02512.48
5.3.00.0080.02812.41
5.2.170.0060.02411.40
5.2.160.0080.01111.39
5.2.150.0030.02411.36
5.2.140.0020.02611.48
5.2.130.0050.02111.35
5.2.120.0050.02111.40
5.2.110.0060.02211.30
5.2.100.0050.02511.42
5.2.90.0030.02411.33
5.2.80.0070.01211.38
5.2.70.0050.01511.31
5.2.60.0060.02311.35
5.2.50.0060.02211.31
5.2.40.0080.01911.38
5.2.30.0060.01511.26
5.2.20.0060.02311.21
5.2.10.0040.01911.20
5.2.00.0050.01411.12
5.1.60.0030.01710.69
5.1.50.0060.01410.66
5.1.40.0050.01810.70
5.1.30.0060.01410.94
5.1.20.0090.01410.84
5.1.10.0040.01910.69
5.1.00.0040.01910.65
5.0.50.0020.01710.47
5.0.40.0060.01510.47
5.0.30.0030.01710.47
5.0.20.0050.01510.47
5.0.10.0040.01510.47
5.0.00.0020.02110.47
4.4.90.0040.01310.47
4.4.80.0010.01410.47
4.4.70.0010.01510.47
4.4.60.0020.01010.47
4.4.50.0000.01210.47
4.4.40.0020.02010.47
4.4.30.0040.01010.47
4.4.20.0010.01510.47
4.4.10.0000.01810.47
4.4.00.0050.01210.47
4.3.110.0020.01210.47
4.3.100.0020.01310.47
4.3.90.0000.01110.47
4.3.80.0030.01910.47
4.3.70.0010.01510.47
4.3.60.0050.01110.47
4.3.50.0020.01410.47
4.3.40.0040.01010.47
4.3.30.0010.01410.47
4.3.20.0010.01510.47
4.3.10.0020.01010.47
4.3.00.0020.01310.47

preferences:
51.84 ms | 401 KiB | 5 Q