3v4l.org

run code in 300+ PHP versions simultaneously
<?php $db = array( 'host' => '.hostinger.nl', 'user' => 'u126267875_pepe', 'pass' => 'com-puter', 'dbname' => 'u126267875_medal' ); if (!_connect($db['host'], $db['user'], $db['pass'])){ $_['foutcode'] = 'foutcode 002'; header('location: http://medalwars.url.ph/'); exit(); }elseif (!_select_db($db['dbname'])){ $_['foutcode'] = 'foutcode 003'; header("location: $before"); exit(); } if($before == 'http://medalwars.url.ph/create_account/'){ if(empty($username) AND empty($password) AND empty($password2) AND empty($email)){ $_['foutcode'] = 'foutcode 007'; header("location: $before"); exit(); }elseif(empty($username) AND (empty($password) OR empty($password2))){ $_['foutcode'] = 'foutcode 012'; header("location: $before"); exit(); }elseif(empty($username) AND empty($email)){ $_['foutcode'] = 'foutcode 013'; header("location: $before"); exit(); }elseif((empty($password) OR empty($password2)) AND empty($email)){ $_['foutcode'] = 'foutcode 014'; header("location: $before"); exit(); }elseif(empty($username)){ $_['foutcode'] = 'foutcode 005'; header("location: $before"); exit(); }elseif(empty($password)){ $_['foutcode'] = 'foutcode 006'; header("location: $before"); exit(); }elseif(empty($password2)){ $_['foutcode'] = 'foutcode 015'; header("location: $before"); exit(); }elseif(empty($email)){ $_['foutcode'] = 'foutcode 016'; header("location: $before"); exit(); }elseif($password <> $password2){ $_['foutcode'] = 'foutcode 017'; header("location: $before"); exit(); }elseif(strlen($username) < 6){ $_['foutcode'] = 'foutcode 018'; header("location: $before"); exit(); }elseif(strlen($password) < 8){ $_['foutcode'] = 'foutcode 019'; header("location: $before"); exit(); } }elseif($before == 'http://medalwars.url.ph/'){ if(empty($username) AND empty($password)){ $_['foutcode'] = 'foutcode 007'; header("location: $before"); exit(); }elseif(empty($username)){ $_['foutcode'] = 'foutcode 005'; header("location: $before"); exit(); }elseif(empty($password)){ $_['foutcode'] = 'foutcode 006'; header("location: $before"); exit(); } }

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.00716.50
8.3.50.0090.00918.17
8.3.40.0160.00018.69
8.3.30.0140.00018.96
8.3.20.0040.00418.73
8.3.10.0040.00420.43
8.3.00.0000.00819.50
8.2.180.0110.00416.88
8.2.170.0120.00922.96
8.2.160.0150.00018.96
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0070.01026.16
8.2.120.0050.00221.13
8.2.110.0030.00619.30
8.2.100.0090.00317.91
8.2.90.0000.00819.18
8.2.80.0050.00219.31
8.2.70.0050.00317.50
8.2.60.0080.00017.92
8.2.50.0080.00018.07
8.2.40.0060.00318.16
8.2.30.0000.00818.02
8.2.20.0050.00519.28
8.2.10.0000.00817.70
8.2.00.0080.00017.65
8.1.280.0070.00725.92
8.1.270.0110.00723.99
8.1.260.0090.00926.35
8.1.250.0070.01128.09
8.1.240.0070.00323.90
8.1.230.0130.00020.97
8.1.220.0060.00318.77
8.1.210.0040.00419.09
8.1.200.0030.00617.22
8.1.190.0090.00017.40
8.1.180.0050.00318.10
8.1.170.0000.00818.75
8.1.160.0050.00218.91
8.1.150.0060.00318.52
8.1.140.0030.00517.35
8.1.130.0070.00017.77
8.1.120.0040.00417.43
8.1.110.0000.00817.41
8.1.100.0030.00517.33
8.1.90.0040.00417.34
8.1.80.0030.00517.43
8.1.70.0000.00817.37
8.1.60.0030.00617.48
8.1.50.0060.00317.43
8.1.40.0040.00417.59
8.1.30.0030.00517.76
8.1.20.0040.00417.59
8.1.10.0030.00517.55
8.1.00.0030.00517.59
8.0.300.0000.00819.94
8.0.290.0040.00416.61
8.0.280.0040.00418.33
8.0.270.0000.00717.24
8.0.260.0000.00716.80
8.0.250.0000.00816.93
8.0.240.0100.00016.93
8.0.230.0040.00416.98
8.0.220.0000.00716.92
8.0.210.0030.00316.97
8.0.200.0030.00617.03
8.0.190.0030.00317.00
8.0.180.0040.00416.91
8.0.170.0080.00016.85
8.0.160.0030.00316.97
8.0.150.0040.00416.92
8.0.140.0030.00616.88
8.0.130.0050.00013.39
8.0.120.0000.00816.89
8.0.110.0040.00417.00
8.0.100.0040.00416.89
8.0.90.0070.00016.78
8.0.80.0080.00816.96
8.0.70.0040.00416.84
8.0.60.0000.00716.96
8.0.50.0000.00716.87
8.0.30.0180.00016.94
8.0.20.0110.00917.07
8.0.10.0040.00417.07
8.0.00.0090.01216.81
7.4.330.0050.00012.99
7.4.320.0030.00316.40
7.4.300.0030.00316.64
7.4.290.0000.00716.53
7.4.280.0080.00016.68
7.4.270.0030.00316.54
7.4.260.0050.00013.21
7.4.250.0060.00316.62
7.4.240.0020.00516.56
7.4.230.0070.00016.70
7.4.220.0070.01116.53
7.4.210.0000.01516.64
7.4.200.0030.00316.52
7.4.190.0040.00416.65
7.4.160.0100.00716.60
7.4.150.0100.01016.65
7.4.140.0100.00716.55
7.4.130.0110.00516.44
7.4.120.0100.00716.55
7.4.110.0210.00016.64
7.4.100.0170.00016.43
7.4.90.0030.01416.48
7.4.80.0090.01219.39
7.4.70.0120.01216.51
7.4.60.0120.00416.52
7.4.50.0000.00716.66
7.4.40.0070.01016.45
7.4.30.0130.00316.68
7.4.10.0060.00915.18
7.4.00.0070.00814.96
7.3.330.0030.00313.24
7.3.320.0050.00313.21
7.3.310.0030.00316.24
7.3.300.0070.00016.24
7.3.290.0080.00916.31
7.3.280.0090.00616.30
7.3.270.0110.00716.51
7.3.260.0060.01516.40
7.3.250.0060.01416.45
7.3.240.0100.00716.20
7.3.230.0060.01316.54
7.3.210.0060.01116.58
7.3.200.0090.00616.68
7.3.190.0110.00716.51
7.3.180.0130.00616.22
7.3.170.0030.01316.27
7.3.160.0060.01016.21
7.3.130.0030.00614.86
7.3.120.0030.01014.96
7.3.110.0030.01014.64
7.3.100.0040.01114.45
7.3.90.0000.01214.77
7.3.80.0070.00714.68
7.3.70.0040.00414.78
7.3.60.0090.00314.82
7.3.50.0030.01414.77
7.3.40.0000.01414.75
7.3.30.0070.00714.90
7.3.20.0060.00916.44
7.3.10.0030.01216.49
7.3.00.0060.00616.41
7.2.330.0160.00416.52
7.2.320.0100.00716.59
7.2.310.0110.01116.57
7.2.300.0110.00716.26
7.2.290.0100.00616.48
7.2.260.0090.00614.73
7.2.250.0070.01115.02
7.2.240.0040.01215.09
7.2.230.0040.00815.00
7.2.220.0000.01314.88
7.2.210.0030.01014.80
7.2.200.0060.00614.77
7.2.190.0060.00614.91
7.2.180.0030.00814.75
7.2.170.0000.00914.81
7.2.160.0030.00714.80
7.2.150.0090.00616.75
7.2.140.0040.00716.71
7.2.130.0130.00316.61
7.2.120.0070.00716.70
7.2.110.0130.00316.67
7.2.100.0030.01316.63
7.2.90.0070.00716.68
7.2.80.0030.01016.55
7.2.70.0070.00716.82
7.2.60.0060.00816.66
7.2.50.0000.01416.55
7.2.40.0030.00916.89
7.2.30.0040.01216.79
7.2.20.0060.00616.61
7.2.10.0060.00916.76
7.2.00.0030.01018.05
7.1.330.0000.01215.34
7.1.320.0070.00315.77
7.1.310.0000.01315.68
7.1.300.0000.01615.70
7.1.290.0030.00715.28
7.1.280.0080.00415.37
7.1.270.0060.00615.70
7.1.260.0000.00815.46
7.1.250.0120.00015.64
7.1.240.0130.00015.60
7.1.230.0070.00715.53
7.1.220.0050.00815.32
7.1.210.0040.00715.38
7.1.200.0030.00815.46
7.1.190.0070.00715.69
7.1.180.0040.01115.51
7.1.170.0030.01015.36
7.1.160.0040.00815.55
7.1.150.0000.00915.64
7.1.140.0110.00315.55
7.1.130.0060.00915.61
7.1.120.0070.00715.60
7.1.110.0030.00915.71
7.1.100.0020.00816.63
7.1.90.0060.00915.54
7.1.80.0030.01015.30
7.1.70.0060.00616.27
7.1.60.0110.00717.43
7.1.50.0060.00815.99
7.1.40.0070.00715.70
7.1.30.0030.01315.30
7.1.20.0030.01315.62
7.1.10.0060.00915.62
7.1.00.0050.04118.90
7.0.330.0100.00315.36
7.0.320.0100.00315.04
7.0.310.0060.01015.35
7.0.300.0030.01015.41
7.0.290.0000.01515.33
7.0.280.0090.00315.48
7.0.270.0140.00015.07
7.0.260.0040.00815.23
7.0.250.0060.00315.07
7.0.240.0030.01015.37
7.0.230.0030.00615.21
7.0.220.0090.00315.31
7.0.210.0040.00715.29
7.0.200.0020.00815.71
7.0.190.0030.00615.34
7.0.180.0000.01015.29
7.0.170.0090.00315.32
7.0.160.0040.00715.39
7.0.150.0060.01114.98
7.0.140.0050.03818.59
7.0.130.0110.00315.41
7.0.120.0060.03518.78
7.0.110.0030.00715.36
7.0.100.0090.00015.25
7.0.90.0040.00715.21
7.0.80.0030.00814.93
7.0.70.0110.00015.15
7.0.60.0070.04317.81
7.0.50.0120.03816.59
7.0.40.0080.02216.62
7.0.30.0170.02816.73
7.0.20.0180.04916.61
7.0.10.0170.03816.71
7.0.00.0100.04016.71
5.6.400.0000.01614.11
5.6.390.0040.00814.06
5.6.380.0030.01413.74
5.6.370.0040.01114.30
5.6.360.0030.00713.96
5.6.350.0070.00413.95
5.6.340.0040.00814.08
5.6.330.0000.01414.39
5.6.320.0060.00614.33
5.6.310.0030.01014.44
5.6.300.0070.00414.15
5.6.290.0040.00414.25
5.6.280.0050.03717.71
5.6.270.0040.01114.25
5.6.260.0040.01014.16
5.6.250.0030.01014.27
5.6.240.0090.00614.45
5.6.230.0100.00614.11
5.6.220.0030.01314.49
5.6.210.0030.04817.47
5.6.200.0050.04516.05
5.6.190.0020.03317.43
5.6.180.0130.03317.24
5.6.170.0200.04517.44
5.6.160.0030.03017.40
5.6.150.0080.04116.11
5.6.140.0050.03216.21
5.6.130.0070.02316.08
5.6.120.0030.03217.57
5.6.110.0070.04717.46
5.6.100.0050.04517.62
5.6.90.0050.04317.67
5.6.80.0080.02017.18
5.6.70.0180.04117.16
5.6.60.0090.00913.86
5.6.50.0070.00714.26
5.6.40.0100.00314.10
5.6.30.0040.00413.99
5.6.20.0090.00314.16
5.6.10.0070.01114.00
5.6.00.0030.00914.15
5.5.380.0070.00713.91
5.5.370.0080.00314.30
5.5.360.0110.00414.29
5.5.350.0120.02617.39
5.5.340.0030.02516.19
5.5.330.0080.04317.14
5.5.320.0070.04517.25
5.5.310.0080.02717.34
5.5.300.0060.03315.90
5.5.290.0030.02815.95
5.5.280.0100.03517.40
5.5.270.0030.03617.70
5.5.260.0030.05117.35
5.5.250.0080.03317.33
5.5.240.0110.02716.98
5.5.230.0030.00913.86
5.5.220.0100.00014.04
5.5.210.0070.00714.02
5.5.200.0070.01014.03
5.5.190.0040.00814.02
5.5.180.0030.00713.66
5.5.170.0000.01114.15
5.5.160.0100.00714.15
5.5.150.0100.00613.93
5.5.140.0060.00913.95
5.5.130.0070.00414.07
5.5.120.0110.00614.16
5.5.110.0040.01113.86
5.5.100.0090.00614.06
5.5.90.0060.00614.10
5.5.80.0070.00713.96
5.5.70.0040.01114.00
5.5.60.0060.00613.84
5.5.50.0110.00413.93
5.5.40.0000.00913.90
5.5.30.0040.00714.06
5.5.20.0080.00413.79
5.5.10.0070.00714.17
5.5.00.0070.00313.70
5.4.450.0160.02515.06
5.4.440.0190.01315.02
5.4.430.0090.03015.21
5.4.420.0100.02914.95
5.4.410.0110.02115.03
5.4.400.0100.02314.88
5.4.390.0120.02014.88
5.4.380.0100.02614.85
5.4.370.0080.02515.00
5.4.360.0110.02114.77
5.4.350.0120.01814.79
5.4.340.0100.02714.97
5.4.330.0060.00610.59
5.4.320.0050.02614.93
5.4.310.0170.02214.77
5.4.300.0060.02514.97
5.4.290.0120.02014.82
5.4.280.0120.02014.81
5.4.270.0100.02315.00
5.4.260.0120.02015.02
5.4.250.0080.02214.84
5.4.240.0070.02914.93
5.4.230.0070.03014.88
5.4.220.0140.01914.91
5.4.210.0100.02214.83
5.4.200.0080.02314.98
5.4.190.0080.02114.76
5.4.180.0100.02914.90
5.4.170.0080.02414.84
5.4.160.0080.02814.96
5.4.150.0090.03014.95
5.4.140.0130.02013.49
5.4.130.0110.02013.60
5.4.120.0130.01713.67
5.4.110.0140.01813.69
5.4.100.0140.01913.75
5.4.90.0080.02113.65
5.4.80.0100.01813.57
5.4.70.0180.03513.51
5.4.60.0120.02313.52
5.4.50.0100.02213.59
5.4.40.0130.03713.49
5.4.30.0120.01713.56
5.4.20.0070.02413.51
5.4.10.0150.01813.71
5.4.00.0130.03313.39
5.3.290.0030.02712.49
5.3.280.0650.01812.42
5.3.270.0270.02512.41
5.3.260.0130.04012.43
5.3.250.0120.02312.49
5.3.240.0090.02212.22
5.3.230.0150.03012.42
5.3.220.0100.03512.45
5.3.210.0160.03512.42
5.3.200.0100.02412.50
5.3.190.0150.03712.42
5.3.180.0100.02312.52
5.3.170.0130.01812.57
5.3.160.0160.03612.51
5.3.150.0130.03812.59
5.3.140.0180.03212.55
5.3.130.0100.02812.53
5.3.120.0150.03512.61
5.3.110.0150.02212.57
5.3.100.0130.04012.21
5.3.90.0080.02512.21
5.3.80.0120.03312.10
5.3.70.0090.04112.11
5.3.60.0150.03712.27
5.3.50.0100.02712.04
5.3.40.0120.03712.08
5.3.30.0130.02312.14
5.3.20.0170.03511.97
5.3.10.0100.02711.73
5.3.00.0150.03711.88
5.2.170.0200.03311.20
5.2.160.0200.03711.20
5.2.150.0130.05011.01
5.2.140.0170.04011.19
5.2.130.0170.06011.04
5.2.120.0130.04011.07
5.2.110.0230.02311.15
5.2.100.0370.02711.14
5.2.90.0270.05710.98
5.2.80.0270.03711.13
5.2.70.0170.02711.14
5.2.60.0130.05011.02
5.2.50.0200.03310.98
5.2.40.0130.02710.93
5.2.30.0100.03010.84
5.2.20.0200.03010.89
5.2.10.0070.03010.80
5.2.00.0170.02310.80
5.1.60.0170.0209.90
5.1.50.0130.0209.90
5.1.40.0100.03010.09
5.1.30.0100.02710.41
5.1.20.0170.05310.30
5.1.10.0230.01310.14
5.1.00.0100.0339.97
5.0.50.0000.0238.49
5.0.40.0000.0208.46
5.0.30.0000.0338.18
5.0.20.0100.0238.13
5.0.10.0070.0238.20
5.0.00.0130.0238.25
4.4.90.0030.0178.04
4.4.80.0030.0178.04
4.4.70.0070.0278.04
4.4.60.0070.0208.04
4.4.50.0070.0178.04
4.4.40.0030.0278.04
4.4.30.0030.0208.04
4.4.20.0030.0178.04
4.4.10.0030.0178.04
4.4.00.0070.0308.04
4.3.110.0100.0308.04
4.3.100.0030.0178.04
4.3.90.0130.0108.04
4.3.80.0070.0278.04
4.3.70.0030.0238.04
4.3.60.0030.0178.04
4.3.50.0070.0138.04
4.3.40.0100.0278.04
4.3.30.0000.0178.04
4.3.20.0000.0178.04
4.3.10.0000.0208.04
4.3.00.0030.0138.04

preferences:
44.22 ms | 400 KiB | 5 Q