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, );

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.0070.01418.18
8.3.50.0130.00521.14
8.3.40.0180.00318.63
8.3.30.0130.00020.34
8.3.20.0080.00020.16
8.3.10.0060.00322.07
8.3.00.0040.00422.53
8.2.180.0080.01116.38
8.2.170.0110.00322.96
8.2.160.0110.00422.25
8.2.150.0030.00824.18
8.2.140.0090.00024.66
8.2.130.0090.00626.16
8.2.120.0150.00020.58
8.2.110.0040.00421.86
8.2.100.0090.00317.70
8.2.90.0000.00817.63
8.2.80.0030.00518.04
8.2.70.0060.00317.93
8.2.60.0050.00217.93
8.2.50.0000.00918.10
8.2.40.0050.00320.59
8.2.30.0040.00419.41
8.2.20.0000.00717.54
8.2.10.0050.00317.74
8.2.00.0040.00417.61
8.1.280.0090.00625.92
8.1.270.0070.00024.66
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00823.88
8.1.230.0090.00319.00
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0080.00418.89
8.1.150.0070.00018.44
8.1.140.0020.00517.27
8.1.130.0000.00717.83
8.1.120.0040.00417.42
8.1.110.0040.00417.30
8.1.100.0030.00317.36
8.1.90.0000.00717.27
8.1.80.0040.00417.45
8.1.70.0000.00717.24
8.1.60.0030.00617.41
8.1.50.0000.00717.48
8.1.40.0070.00017.42
8.1.30.0000.00717.53
8.1.20.0040.00417.59
8.1.10.0000.00717.49
8.1.00.0040.00417.35
8.0.300.0050.00219.54
8.0.290.0080.00016.63
8.0.280.0030.00318.30
8.0.270.0060.00317.20
8.0.260.0030.00316.64
8.0.250.0030.00516.77
8.0.240.0040.00416.79
8.0.230.0000.00716.80
8.0.220.0040.00416.86
8.0.210.0000.00816.73
8.0.200.0070.00016.76
8.0.190.0040.00816.95
8.0.180.0000.00716.75
8.0.170.0030.00616.79
8.0.160.0040.00416.71
8.0.150.0040.00416.82
8.0.140.0040.00416.84
8.0.130.0060.00013.35
8.0.120.0040.00615.01
8.0.110.0060.00315.01
8.0.100.0030.00515.00
8.0.90.0070.00115.00
8.0.80.0050.00715.05
8.0.70.0060.00415.00
8.0.60.0020.00715.09
8.0.50.0020.00714.99
8.0.30.0110.00815.80
8.0.20.0110.00716.02
8.0.10.0050.00315.07
8.0.00.0070.00615.61
7.4.330.0060.00315.00
7.4.320.0060.00016.47
7.4.300.0060.00016.47
7.4.290.0030.00316.55
7.4.280.0030.00316.52
7.4.270.0000.00716.52
7.4.260.0060.00013.17
7.4.250.0050.00214.80
7.4.240.0050.00215.36
7.4.230.0020.00514.90
7.4.220.0070.00714.87
7.4.210.0120.00315.82
7.4.200.0080.00014.85
7.4.190.0020.00614.88
7.4.180.0000.00613.36
7.4.160.0050.00714.84
7.4.150.0060.00615.31
7.4.140.0080.00516.26
7.4.130.0090.00615.23
7.4.120.0090.00615.29
7.4.110.0090.00914.73
7.4.100.0120.00314.85
7.4.90.0050.00914.78
7.4.80.0090.00616.21
7.4.70.0070.00714.75
7.4.60.0060.00714.66
7.4.50.0040.00614.78
7.4.40.0050.00817.89
7.4.30.0090.00514.77
7.4.20.0070.00413.10
7.4.10.0050.00513.12
7.4.00.0070.00514.00
7.3.330.0020.00212.95
7.3.320.0030.00213.05
7.3.310.0070.00214.60
7.3.300.0070.00214.55
7.3.290.0090.00214.57
7.3.280.0080.00715.39
7.3.270.0050.00815.29
7.3.260.0100.00514.66
7.3.250.0050.01015.19
7.3.240.0070.00714.86
7.3.230.0090.00514.77
7.3.220.0050.00512.99
7.3.210.0070.00514.73
7.3.200.0060.00916.23
7.3.190.0050.00814.73
7.3.180.0050.00714.56
7.3.170.0050.00614.63
7.3.160.0060.00614.62
7.3.150.0070.00013.01
7.3.140.0030.00313.04
7.3.130.0050.00012.99
7.3.120.0030.00713.99
7.3.110.0040.00212.90
7.3.100.0000.00612.92
7.3.90.0070.00013.21
7.3.80.0060.00013.04
7.3.70.0030.00313.15
7.3.60.0030.00313.09
7.3.50.0060.00013.17
7.3.40.0060.00013.32
7.3.30.0070.00013.23
7.3.20.0050.00314.96
7.3.10.0060.00214.83
7.3.00.0030.00314.89
7.2.340.0120.00013.08
7.2.330.0070.00814.76
7.2.320.0120.00314.85
7.2.310.0080.00714.83
7.2.300.0100.00514.87
7.2.290.0100.00514.79
7.2.280.0040.00913.18
7.2.270.0140.00013.14
7.2.260.0080.00513.00
7.2.250.0120.00013.08
7.2.240.0120.00213.19
7.2.230.0130.00013.16
7.2.220.0050.00912.98
7.2.210.0130.00013.16
7.2.200.0150.00013.29
7.2.190.0130.00013.25
7.2.180.0090.00413.21
7.2.170.0120.00013.27
7.2.160.0110.00413.31
7.2.150.0080.00815.02
7.2.140.0100.00515.11
7.2.130.0110.00315.10
7.2.120.0100.00615.21
7.2.110.0110.00415.14
7.2.100.0120.00315.11
7.2.90.0150.00015.20
7.2.80.0100.00515.04
7.2.70.0140.00014.96
7.2.60.0070.00815.00
7.2.50.0090.00615.09
7.2.40.0130.00015.15
7.2.30.0170.00015.09
7.2.20.0110.00315.25
7.2.10.0090.00615.17
7.2.00.0090.00617.01
7.1.330.0080.00414.04
7.1.320.0100.00314.22
7.1.310.0100.00314.09
7.1.300.0080.00514.14
7.1.290.0150.00014.22
7.1.280.0060.00614.09
7.1.270.0080.00513.99
7.1.260.0090.00514.07
7.1.250.0060.00614.02
7.1.240.0060.00613.91
7.1.230.0000.01214.17
7.1.220.0100.00314.02
7.1.210.0070.00514.05
7.1.200.0120.00014.09
7.1.190.0110.00314.11
7.1.180.0060.00614.04
7.1.170.0080.00414.02
7.1.160.0060.00613.91
7.1.150.0120.00014.11
7.1.140.0090.00314.10
7.1.130.0080.00414.08
7.1.120.0130.00014.16
7.1.110.0140.00013.88
7.1.100.0040.00815.81
7.1.90.0090.00314.06
7.1.80.0090.00313.93
7.1.70.0060.00815.51
7.1.60.0060.01216.64
7.1.50.0080.00715.45
7.1.40.0080.00414.00
7.1.30.0060.00613.94
7.1.20.0080.00413.85
7.1.10.0090.00313.95
7.1.00.0090.01818.17
7.0.330.0090.00314.00
7.0.320.0070.00413.96
7.0.310.0050.00613.75
7.0.300.0120.00013.75
7.0.290.0110.00013.77
7.0.280.0080.00413.76
7.0.270.0120.00013.91
7.0.260.0050.00513.77
7.0.250.0120.00014.09
7.0.240.0040.00714.02
7.0.230.0040.00813.89
7.0.220.0110.00013.80
7.0.210.0120.00013.96
7.0.200.0110.00114.29
7.0.190.0060.00614.00
7.0.180.0080.00313.96
7.0.170.0060.00614.01
7.0.160.0110.00013.84
7.0.150.0040.00713.97
7.0.140.0080.03817.99
7.0.130.0080.00314.04
7.0.120.0060.00614.07
7.0.110.0120.00013.96
7.0.100.0120.04216.91
7.0.90.0120.04016.91
7.0.80.0110.03916.84
7.0.70.0140.03816.79
7.0.60.0130.03316.86
7.0.50.0090.02017.04
7.0.40.0050.02216.93
7.0.30.0060.03116.92
7.0.20.0050.02516.94
7.0.10.0060.02317.05
7.0.00.0040.02416.94
5.6.400.0000.01112.53
5.6.390.0100.00012.34
5.6.380.0060.00612.39
5.6.370.0040.00812.35
5.6.360.0100.00212.37
5.6.350.0090.00212.39
5.6.340.0060.00612.66
5.6.330.0090.00212.48
5.6.320.0110.00012.62
5.6.310.0090.00312.59
5.6.300.0040.00812.24
5.6.290.0080.00312.73
5.6.280.0100.03316.73
5.6.270.0050.00512.36
5.6.260.0080.00412.60
5.6.250.0160.03516.43
5.6.240.0120.04016.68
5.6.230.0090.04316.71
5.6.220.0070.04416.64
5.6.210.0020.04716.48
5.6.200.0040.03016.96
5.6.190.0060.02116.99
5.6.180.0070.02216.81
5.6.170.0030.02416.72
5.6.160.0100.03316.98
5.6.150.0050.02916.82
5.6.140.0090.02216.88
5.6.130.0090.02516.78
5.6.120.0050.04216.76
5.6.110.0070.02216.76
5.6.100.0050.02416.81
5.6.90.0040.02416.81
5.6.80.0070.02016.45
5.6.70.0040.02316.55
5.6.60.0040.02116.54
5.6.50.0030.03916.45
5.6.40.0050.02216.47
5.6.30.0050.02016.43
5.6.20.0050.02116.58
5.6.10.0040.02416.58
5.6.00.0070.02016.49
5.5.380.0090.04216.53
5.5.370.0040.04016.46
5.5.360.0080.04416.42
5.5.350.0040.02916.46
5.5.340.0070.02216.73
5.5.330.0050.02216.67
5.5.320.0070.02116.77
5.5.310.0070.02516.65
5.5.300.0050.02516.67
5.5.290.0030.03516.58
5.5.280.0030.02516.66
5.5.270.0060.02316.60
5.5.260.0060.02616.61
5.5.250.0090.01816.60
5.5.240.0070.02016.45
5.5.230.0030.02816.51
5.5.220.0030.02316.50
5.5.210.0070.02716.44
5.5.200.0050.02416.29
5.5.190.0020.04016.44
5.5.180.0050.03216.36
5.5.170.0030.00812.57
5.5.160.0050.01816.35
5.5.150.0050.02216.30
5.5.140.0130.03016.36
5.5.130.0060.04116.26
5.5.120.0120.03516.30
5.5.110.0100.03716.20
5.5.100.0050.02816.43
5.5.90.0100.03816.27
5.5.80.0120.03516.28
5.5.70.0100.03716.31
5.5.60.0080.04316.20
5.5.50.0100.02216.34
5.5.40.0090.03916.16
5.5.30.0030.02716.24
5.5.20.0070.04216.41
5.5.10.0070.02816.29
5.5.00.0100.03716.22
5.4.450.0100.03216.07
5.4.440.0070.02016.07
5.4.430.0100.02816.04
5.4.420.0070.02216.07
5.4.410.0030.02315.80
5.4.400.0060.02015.84
5.4.390.0040.02115.73
5.4.380.0070.02515.81
5.4.370.0040.02115.80
5.4.360.0080.01715.72
5.4.350.0090.02615.85
5.4.340.0050.02015.69
5.4.330.0100.00012.50
5.4.320.0070.02615.89
5.4.310.0030.03215.82
5.4.300.0040.04115.88
5.4.290.0080.03515.77
5.4.280.0060.04115.83
5.4.270.0060.04115.67
5.4.260.0120.03315.76
5.4.250.0060.04515.80
5.4.240.0060.04315.76
5.4.230.0070.03815.56
5.4.220.0040.03715.66
5.4.210.0080.03815.69
5.4.200.0080.03815.71
5.4.190.0100.03315.61
5.4.180.0080.03615.61
5.4.170.0070.04015.61
5.4.160.0070.02415.70
5.4.150.0080.04115.69
5.4.140.0060.03714.50
5.4.130.0020.03214.32
5.4.120.0070.03814.35
5.4.110.0100.03814.32
5.4.100.0100.02814.38
5.4.90.0020.02614.33
5.4.80.0060.04014.33
5.4.70.0030.04114.40
5.4.60.0070.03514.54
5.4.50.0100.03514.27
5.4.40.0020.04114.55
5.4.30.0070.02714.44
5.4.20.0070.03814.40
5.4.10.0120.03714.50
5.4.00.0060.03714.06
5.3.290.0050.02513.83
5.3.280.0070.04013.84
5.3.270.0080.03813.69
5.3.260.0090.04013.77
5.3.250.0090.03513.85
5.3.240.0100.03513.66
5.3.230.0080.04013.67
5.3.220.0100.03313.76
5.3.210.0100.03713.73
5.3.200.0090.03113.69
5.3.190.0040.04313.62
5.3.180.0040.03513.78
5.3.170.0050.03813.81
5.3.160.0100.02313.76
5.3.150.0090.03713.69
5.3.140.0050.03813.74
5.3.130.0090.03813.73
5.3.120.0060.03613.71
5.3.110.0090.04013.61
5.3.100.0100.03813.43
5.3.90.0050.04013.57
5.3.80.0050.04213.48
5.3.70.0050.04013.28
5.3.60.0100.03513.54
5.3.50.0130.03213.50
5.3.40.0090.03513.31
5.3.30.0100.03713.40
5.3.20.0080.03613.35
5.3.10.0070.02313.00
5.3.00.0070.03813.23
5.2.170.0060.03111.50
5.2.160.0090.02911.54
5.2.150.0030.03411.51
5.2.140.0050.03011.39
5.2.130.0030.03311.47
5.2.120.0060.02911.47
5.2.110.0130.02511.38
5.2.100.0070.02911.54
5.2.90.0080.03111.43
5.2.80.0020.03511.36
5.2.70.0040.03411.41
5.2.60.0080.02811.36
5.2.50.0040.03211.47
5.2.40.0070.02911.55
5.2.30.0040.03511.43
5.2.20.0030.03311.32
5.2.10.0080.02811.24
5.2.00.0040.03211.04
5.1.60.0070.02210.58
5.1.50.0040.02910.63
5.1.40.0020.02410.81
5.1.30.0030.02910.74
5.1.20.0050.03010.83
5.1.10.0060.02210.73
5.1.00.0050.02910.62
5.0.50.0040.02410.49
5.0.40.0080.01310.49
5.0.30.0050.03210.49
5.0.20.0050.02010.49
5.0.10.0020.02510.49
5.0.00.0030.03210.49
4.4.90.0030.01510.49
4.4.80.0040.01710.49
4.4.70.0030.01710.49
4.4.60.0030.01810.49
4.4.50.0050.01510.49
4.4.40.0020.03010.49
4.4.30.0030.01710.49
4.4.20.0020.01710.49
4.4.10.0020.01810.49
4.4.00.0050.02510.49
4.3.110.0030.01810.49
4.3.100.0020.01010.49
4.3.90.0030.01210.49
4.3.80.0050.02710.49
4.3.70.0020.01810.49
4.3.60.0050.01510.49
4.3.50.0040.01810.49
4.3.40.0040.02510.49
4.3.30.0000.02010.49
4.3.20.0010.02010.49
4.3.10.0000.02010.49
4.3.00.0010.01810.49

preferences:
56.59 ms | 401 KiB | 5 Q