3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Display the platform scores added together $database = new PDO('mysql:host=db452664775.db.1and1.com;dbname=db452664775;charset=utf8', 'dbo452664775', '$h13ld@l13n'); //read the android scores from the MYSQL database $query = $database->prepare("SELECT * FROM `MinionTotalsAndroid` WHERE 1"); $query->execute(); $android = $query->fetchAll();// as $android; echo ($android[scoreTotal]); //read the iphone scores from the MYSQL database $query2 = $database->prepare("SELECT * FROM `MinionTotalsiPhone` WHERE 1"); $query2->execute(); $iOS = $query2->fetchAll();// as $iOS;; //calculate the Accuracy to 2 decimal places //number_format( (($android['rktsHit'] + $iOS['rktsHit'] ) / ( $android['rktsFired'] + $iOS['rktsFired'])) * 100, 2); echo ($android['scoreTotal'] + $iOS['scoreTotal']) . '-' .($android['junkTotal'] + $iOS['junkTotal']) . '-' .($android['shpKlldByAstrd']+ $iOS['shpKlldByAstrd']) . '-' .($android['shpKlldBySatlt']+ $iOS['shpKlldBySatlt']) . '-' .($android['shpKlldByWrm'] + $iOS['shpKlldByWrm']) . '-' .($android['shpKlldByPrt'] + $iOS['shpKlldByPrt']) . '-' .($android['deathsTotal'] + $iOS['deathsTotal']) . '-' .($android['minKlldByAst'] + $iOS['minKlldByAst']) . '-' .($android['minKlldBySatlt']+ $iOS['minKlldBySatlt']) . '-' .($android['minKlldByWrm'] + $iOS['minKlldByWrm']) . '-' .($android['minKlldByPrt'] + $iOS['minKlldByPrt']) . '-' .($android['deathsTotal'] + $iOS['deathsTotal']) . '-' .($android['shldUsd'] + $iOS['shldUsd']) . '-' .($android['shldDstryd'] + $iOS['shldDstryd']) . '-' .($android['hmngUsd'] + $iOS['hmngUsd']) . '-' .($android['pwrUsd'] + $iOS['pwrUsd']) . '-' .($android['rktsFired'] + $iOS['rktsFired']) . '-' .($android['rktsHit'] + $iOS['rktsHit']) . '-' .($android['rktsMssd'] + $iOS['rktsMssd']) . '-' .(number_format( (($android['rktsHit'] + $iOS['rktsHit'] ) / ( $android['rktsFired'] + $iOS['rktsFired'])) * 100, 2)) . '-' .($android['astKlldByShp'] + $iOS['astKlldByShp']) . '-' .($android['astrdKlldByMin']+ $iOS['astrdKlldByMin']) . '-' .($android['astrdEscp'] + $iOS['astrdEscp']) . '-' .($android['astrdKlls'] + $iOS['astrdKlls']) . '-' .($android['satltKlldByShp']+ $iOS['satltKlldByShp']) . '-' .($android['satltKlldByMin']+ $iOS['satltKlldByMin']) . '-' .($android['satltEscp'] + $iOS['satltEscp']) . '-' .($android['satltKlls'] + $iOS['satltKlls']) . '-' .($android['wrmKlldByShp'] + $iOS['wrmKlldByShp']) . '-' .($android['wrmKlldByMin'] + $iOS['wrmKlldByMin']) . '-' .($android['wrmKlls'] + $iOS['wrmKlls']) . '-' .($android['prtKlldByShp'] + $iOS['prtKlldByShp']) . '-' .($android['prtKlldByMin'] + $iOS['prtKlldByMin']) . '-' .($android['prtKlls'] + $iOS['prtKlls']);

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.0110.00416.75
8.3.50.0160.00421.98
8.3.40.0110.00318.95
8.3.30.0090.00618.69
8.3.20.0070.01120.46
8.3.10.0070.00023.67
8.3.00.0060.00319.15
8.2.180.0120.00616.63
8.2.170.0110.00422.96
8.2.160.0100.00720.52
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0100.00320.84
8.2.110.0100.00022.26
8.2.100.0090.00617.84
8.2.90.0000.01117.75
8.2.80.0030.01017.97
8.2.70.0090.00018.03
8.2.60.0030.00618.05
8.2.50.0030.00618.10
8.2.40.0000.00820.55
8.2.30.0040.00420.81
8.2.20.0000.00917.80
8.2.10.0000.00818.19
8.2.00.0060.00318.18
8.1.280.0110.00425.92
8.1.270.0060.00323.79
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00324.02
8.1.230.0160.00419.12
8.1.220.0040.00417.78
8.1.210.0040.00418.77
8.1.200.0060.00317.24
8.1.190.0000.00917.23
8.1.180.0080.00018.10
8.1.170.0040.00418.56
8.1.160.0000.00722.07
8.1.150.0000.00718.89
8.1.140.0000.00819.50
8.1.130.0030.00517.66
8.1.120.0070.00017.43
8.1.110.0040.00317.45
8.1.100.0060.00317.39
8.1.90.0040.00417.42
8.1.80.0000.00717.34
8.1.70.0030.00617.29
8.1.60.0040.00417.58
8.1.50.0060.00317.53
8.1.40.0030.00717.57
8.1.30.0000.00917.71
8.1.20.0030.00617.57
8.1.10.0030.00617.64
8.1.00.0000.00917.43
8.0.300.0030.00621.65
8.0.290.0000.00916.88
8.0.280.0000.00718.57
8.0.270.0030.00317.32
8.0.260.0000.00617.32
8.0.250.0030.00317.06
8.0.240.0070.00017.11
8.0.230.0080.00017.10
8.0.220.0030.00317.12
8.0.210.0030.00317.01
8.0.200.0070.00017.04
8.0.190.0000.00817.13
8.0.180.0040.00417.09
8.0.170.0040.00416.92
8.0.160.0070.00017.02
8.0.150.0040.00416.98
8.0.140.0000.00716.90
8.0.130.0050.00013.43
8.0.120.0030.00616.90
8.0.110.0050.00317.05
8.0.100.0070.00016.96
8.0.90.0040.00416.82
8.0.80.0140.00717.05
8.0.70.0040.00417.06
8.0.60.0050.00317.08
8.0.50.0070.00016.86
8.0.30.0090.00917.24
8.0.20.0090.01217.40
8.0.10.0040.00417.10
8.0.00.0070.01016.85
7.4.330.0050.00016.75
7.4.320.0030.00316.52
7.4.300.0020.00516.68
7.4.290.0000.00716.71
7.4.280.0030.00916.63
7.4.270.0030.00316.72
7.4.260.0000.00716.57
7.4.250.0040.00416.53
7.4.240.0040.00416.57
7.4.230.0030.00316.77
7.4.220.0120.00916.79
7.4.210.0120.00316.70
7.4.200.0040.00416.77
7.4.160.0100.00516.61
7.4.150.0140.00917.40
7.4.140.0130.00617.86
7.4.130.0070.01516.60
7.4.120.0130.00516.62
7.4.110.0100.00716.57
7.4.100.0090.00916.77
7.4.90.0060.01116.69
7.4.80.0140.00319.39
7.4.70.0060.01116.66
7.4.60.0030.01716.61
7.4.50.0070.00716.63
7.4.40.0090.00816.48
7.4.30.0120.01216.41
7.4.00.0080.01014.96
7.3.330.0000.00513.27
7.3.320.0000.00713.23
7.3.310.0040.00416.20
7.3.300.0060.00016.35
7.3.290.0040.00416.40
7.3.280.0070.01016.41
7.3.270.0060.01017.40
7.3.260.0110.01116.47
7.3.250.0090.01216.45
7.3.240.0080.01416.54
7.3.230.0120.00616.65
7.3.210.0100.00716.62
7.3.200.0100.00716.57
7.3.190.0100.00616.51
7.3.180.0130.00316.61
7.3.170.0100.00716.50
7.3.160.0130.00316.55
7.3.120.0100.01014.78
7.3.110.0060.01314.84
7.3.100.0030.01214.58
7.3.90.0090.00914.98
7.3.80.0090.00614.98
7.3.70.0090.00614.90
7.3.60.0040.01115.01
7.3.50.0060.01214.59
7.3.40.0070.01014.85
7.3.30.0100.00614.80
7.3.20.0000.01416.39
7.3.10.0070.01016.60
7.3.00.0030.00916.68
7.2.330.0130.01016.74
7.2.320.0040.01716.58
7.2.310.0090.00816.68
7.2.300.0100.00716.32
7.2.290.0110.01316.28
7.2.250.0060.01314.86
7.2.240.0040.01514.65
7.2.230.0070.01014.58
7.2.220.0070.00715.13
7.2.210.0030.01314.88
7.2.200.0070.01015.04
7.2.190.0070.00714.82
7.2.180.0090.00915.12
7.2.170.0000.01315.12
7.2.110.0030.00716.61
7.2.100.0030.00716.46
7.2.90.0040.00416.49
7.2.80.0000.01616.38
7.2.70.0060.00316.80
7.2.60.0090.00616.65
7.2.50.0040.00716.78
7.2.40.0070.00716.71
7.2.30.0000.00816.63
7.2.20.0070.00716.91
7.2.10.0060.00616.80
7.2.00.0030.00917.94
7.1.330.0090.00615.82
7.1.320.0070.00715.65
7.1.310.0150.00015.54
7.1.300.0030.00715.63
7.1.290.0070.00715.46
7.1.280.0030.01015.44
7.1.270.0060.01215.50
7.1.260.0070.01015.76
7.1.230.0000.00715.61
7.1.220.0070.00315.65
7.1.210.0000.00815.38
7.1.200.0080.00315.54
7.1.190.0090.00315.69
7.1.180.0000.01415.62
7.1.170.0000.01515.57
7.1.160.0060.00915.52
7.1.150.0080.00415.53
7.1.140.0070.00715.43
7.1.130.0040.00715.70
7.1.120.0070.00815.45
7.1.110.0030.00715.65
7.1.100.0040.01016.87
7.1.90.0080.00315.58
7.1.80.0070.00315.38
7.1.70.0090.00316.30
7.1.60.0110.00717.58
7.1.50.0100.00616.33
7.1.40.0080.00615.76
7.1.30.0040.01115.52
7.1.20.0100.00316.04
7.1.10.0060.00315.46
7.1.00.0060.03619.14
7.0.310.0030.01015.40
7.0.300.0070.00715.21
7.0.290.0050.00515.33
7.0.280.0040.00815.49
7.0.270.0110.00015.45
7.0.260.0100.00315.46
7.0.250.0080.00015.40
7.0.240.0000.01415.05
7.0.230.0060.00615.05
7.0.220.0070.00715.41
7.0.210.0000.00715.33
7.0.200.0020.00914.88
7.0.190.0000.01415.21
7.0.180.0040.00715.53
7.0.170.0040.00415.36
7.0.160.0000.01115.39
7.0.150.0040.00415.37
7.0.140.0000.00815.08
7.0.130.0040.00715.48
7.0.120.0000.01215.38
7.0.110.0030.00315.32
7.0.100.0030.00615.12
7.0.90.0100.00315.47
7.0.80.0030.00915.35
7.0.70.0090.00615.30
7.0.60.0080.04017.79
7.0.50.0060.04316.74
7.0.40.0060.02616.72
7.0.30.0170.02916.71
7.0.20.0150.04216.90
7.0.10.0050.02316.81
7.0.00.0050.02416.73
5.6.380.0100.00714.52
5.6.370.0120.00314.45
5.6.360.0060.00313.82
5.6.350.0030.00714.23
5.6.340.0120.00314.16
5.6.330.0070.00714.27
5.6.320.0110.00314.21
5.6.310.0000.01114.20
5.6.300.0000.01314.34
5.6.290.0080.00014.29
5.6.280.0030.02117.48
5.6.270.0080.00414.01
5.6.260.0030.01014.39
5.6.250.0000.00814.28
5.6.240.0100.00314.50
5.6.230.0090.00313.93
5.6.220.0070.00714.29
5.6.210.0070.04717.56
5.6.200.0080.03516.23
5.6.190.0030.04517.43
5.6.180.0180.02317.38
5.6.170.0080.03817.51
5.6.160.0020.03717.37
5.6.150.0030.04316.23
5.6.140.0080.04316.14
5.6.130.0040.02216.21
5.6.120.0100.04517.56
5.6.110.0100.04317.55
5.6.100.0020.04617.65
5.6.90.0100.03317.71
5.6.80.0120.03317.27
5.6.70.0030.00714.10
5.6.60.0070.00714.34
5.6.50.0030.01014.30
5.6.40.0070.01014.13
5.6.30.0030.01014.38
5.6.20.0090.00014.18
5.6.10.0060.00913.99
5.6.00.0060.00914.04
5.5.380.0090.00010.98
5.5.370.0000.00710.98
5.5.360.0060.00011.21
5.5.350.0170.03615.78
5.5.340.0050.04314.50
5.5.330.0050.04315.66
5.5.320.0050.02515.62
5.5.310.0100.03015.73
5.5.300.0030.04514.37
5.5.290.0030.04714.59
5.5.280.0050.04415.87
5.5.270.0040.03915.77
5.5.260.0060.02315.73
5.5.250.0030.02415.80
5.5.240.0120.03815.54
5.5.230.0090.00311.10
5.5.220.0030.00710.74
5.5.210.0040.00410.72
5.5.200.0080.00410.81
5.5.190.0040.00710.85
5.5.180.0000.01210.82
5.5.170.0040.00913.86
5.5.160.0120.00010.52
5.5.150.0000.00910.91
5.5.140.0040.00810.93
5.5.130.0000.01110.79
5.5.120.0060.00611.12
5.5.110.0050.00510.66
5.5.100.0090.00311.05
5.5.90.0070.00411.11
5.5.80.0000.01011.00
5.5.70.0060.00311.16
5.5.60.0040.00710.76
5.5.50.0000.00710.77
5.5.40.0000.00711.11
5.5.30.0000.01010.78
5.5.20.0100.00011.07
5.5.10.0030.00310.75
5.5.00.0000.00910.81

preferences:
60.18 ms | 401 KiB | 5 Q