3v4l.org

run code in 300+ PHP versions simultaneously
<?php require_once 'libGou4uApi.php'; $olibGou4uApi = new libGou4uApi(); $oGou4uApi->setApiUrl('http://www.gou4u.com/api/reseller'); $oGou4uApi->setPartnerId('partner ID'); $oGou4uApi->setPartnerKey('partner Key'); // request API $sMsgId = date('YmdHis').str_pad(preg_replace('/^.+\./', '', microtime(true)), 4, '0', STR_PAD_LEFT); $sServiceType = 'test'; $aRequestData = array(); $aResponseData = $oGou4uApi->requestApi($sMsgId, $sServiceType, $aRequestData); echo '<pre>'; var_dump($aResponseData); echo '</pre>';

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)
7.4.00.0060.01315.12
7.3.120.0100.01014.39
7.3.110.0080.00414.52
7.3.100.0120.00614.63
7.3.90.0070.00714.74
7.3.80.0090.00614.79
7.3.70.0000.01114.66
7.3.60.0070.00714.77
7.3.50.0070.01014.65
7.3.40.0070.00714.46
7.3.30.0000.01214.62
7.3.20.0130.00316.45
7.3.10.0060.00616.51
7.3.00.0100.00316.72
7.2.250.0120.00914.84
7.2.240.0040.01514.64
7.2.230.0060.00914.78
7.2.220.0070.00314.97
7.2.210.0100.00015.11
7.2.200.0030.00914.75
7.2.190.0060.01214.62
7.2.180.0100.00014.62
7.2.170.0000.01114.81
7.1.330.0080.00515.88
7.1.320.0090.00315.80
7.1.310.0030.01315.77
7.1.300.0030.01215.53
7.1.290.0030.00915.73
7.1.280.0030.00915.53
7.1.270.0040.00415.73
7.1.260.0040.00815.66
7.1.70.0040.00416.91
7.1.60.0060.01919.43
7.1.50.0070.01316.96
7.1.00.0030.06022.55
7.0.200.0030.00316.52
7.0.140.0070.06722.00
7.0.100.0170.06720.06
7.0.90.0170.07319.99
7.0.80.0130.07719.93
7.0.70.0100.07719.84
7.0.60.0070.07319.89
7.0.50.0430.08020.31
7.0.40.0130.08020.04
7.0.30.0030.06319.96
7.0.20.0130.05019.95
7.0.10.0070.08320.09
7.0.00.0070.04320.14
5.6.280.0000.07720.92
5.6.250.0030.09020.72
5.6.240.0130.08020.70
5.6.230.0070.06720.59
5.6.220.0070.05320.49
5.6.210.0070.08320.75
5.6.200.0070.06321.04
5.6.190.0130.08321.18
5.6.180.0070.07321.11
5.6.170.0030.08321.04
5.6.160.0100.08321.00
5.6.150.0130.04020.93
5.6.140.0070.05021.16
5.6.130.0070.08021.02
5.6.120.0000.05321.02
5.6.110.0070.08321.00
5.6.100.0230.07321.09
5.6.90.0130.05721.09
5.6.80.0170.07020.50
5.6.70.0030.08720.41
5.6.60.0030.08320.44
5.6.50.0100.07320.43
5.6.40.0130.04020.36
5.6.30.0070.08020.26
5.6.20.0070.08720.46
5.6.10.0170.06720.37
5.6.00.0130.05720.35
5.5.380.0130.06320.50
5.5.370.0000.08320.51
5.5.360.0030.05720.48
5.5.350.0100.08020.41
5.5.340.0100.07720.73
5.5.330.0170.06720.83
5.5.320.0070.08020.84
5.5.310.0070.08320.79
5.5.300.0100.07720.82
5.5.290.0170.06720.73
5.5.280.0000.09320.94
5.5.270.0000.08720.82
5.5.260.0070.07320.63
5.5.250.0070.08020.70
5.5.240.0030.08020.25
5.5.230.0170.06720.13
5.5.220.0100.07020.13
5.5.210.0030.04320.21
5.5.200.0100.08320.28
5.5.190.0000.08020.28
5.5.180.0170.06320.21
5.5.160.0130.04720.21
5.5.150.0100.08320.12
5.5.140.0070.05020.23
5.5.130.0130.06320.23
5.5.120.0100.06020.17
5.5.110.0030.05720.21
5.5.100.0030.08320.08
5.5.90.0100.07720.11
5.5.80.0100.07320.16
5.5.70.0030.08320.04
5.5.60.0030.07720.05
5.5.50.0030.07720.09
5.5.40.0130.05720.07
5.5.30.0100.05720.11
5.5.20.0100.03720.02
5.5.10.0070.05319.97
5.5.00.0170.07020.03
5.4.450.0170.04019.32
5.4.440.0030.06319.40
5.4.430.0030.08019.38
5.4.420.0170.07019.38
5.4.410.0100.06719.25
5.4.400.0070.04019.13
5.4.390.0100.07319.08
5.4.380.0170.07018.97
5.4.370.0030.07318.99
5.4.360.0070.07718.95
5.4.350.0100.07019.13
5.4.340.0130.05319.11
5.4.320.0030.05019.07
5.4.310.0130.05718.93
5.4.300.0070.03719.00
5.4.290.0100.06718.95
5.4.280.0100.07018.96
5.4.270.0000.04719.04
5.4.260.0070.08018.82
5.4.250.0000.07719.12
5.4.240.0170.07019.09
5.4.230.0200.03718.81
5.4.220.0200.03019.07
5.4.210.0070.05318.98
5.4.200.0170.07018.96
5.4.190.0030.08019.14
5.4.180.0030.04319.12
5.4.170.0100.05719.12
5.4.160.0130.06318.95
5.4.150.0030.05718.79
5.4.140.0030.08016.32
5.4.130.0100.07016.19
5.4.120.0130.06716.07
5.4.110.0070.05016.40
5.4.100.0070.03716.39
5.4.90.0030.03716.27
5.4.80.0000.04016.23
5.4.70.0030.03716.44
5.4.60.0030.03716.19
5.4.50.0000.03716.37
5.4.40.0000.04016.41
5.4.30.0070.03316.31
5.4.20.0070.04016.28
5.4.10.0000.03716.23
5.4.00.0000.04015.79
5.3.290.0070.06714.49
5.3.280.0100.07314.57
5.3.270.0130.07014.61
5.3.260.0100.07314.57
5.3.250.0100.07314.60
5.3.240.0100.06714.43
5.3.230.0070.07314.43
5.3.220.0100.06014.48
5.3.210.0170.06314.55
5.3.200.0000.04014.57
5.3.190.0030.04314.55
5.3.180.0000.04014.51
5.3.170.0000.04014.53
5.3.160.0030.03714.50
5.3.150.0030.03714.52
5.3.140.0030.03714.40
5.3.130.0030.03714.56
5.3.120.0100.03714.50
5.3.110.0030.03714.50
5.3.100.0000.04013.88
5.3.90.0070.03313.97
5.3.80.0070.05714.01
5.3.70.0070.03314.01
5.3.60.0100.03013.99
5.3.50.0030.07013.72
5.3.40.0130.06013.92
5.3.30.0030.07013.86
5.3.20.0000.03713.62
5.3.10.0000.03313.44
5.3.00.0000.04013.62
5.2.170.0000.06711.21
5.2.160.0070.03711.13
5.2.150.0000.07011.09
5.2.140.0030.04711.09
5.2.130.0070.03311.09
5.2.120.0000.03011.09
5.2.110.0070.02011.09
5.2.100.0100.04711.09
5.2.90.0030.02711.13
5.2.80.0000.03311.09
5.2.70.0000.03011.09
5.2.60.0000.03311.10
5.2.50.0000.03011.09
5.2.40.0030.03311.09
5.2.30.0030.03011.09
5.2.20.0030.03711.09
5.2.10.0000.03011.09
5.2.00.0000.03711.09
5.1.60.0030.04311.09
5.1.50.0070.02011.09
5.1.40.0000.02711.09
5.1.30.0030.02311.09
5.1.20.0000.03011.09
5.1.10.0000.02711.09
5.1.00.0000.03311.09
5.0.50.0000.02711.09
5.0.40.0030.02011.09
5.0.30.0000.04011.09
5.0.20.0000.02011.09
5.0.10.0000.02711.09
5.0.00.0000.03011.09
4.4.90.0030.01311.09
4.4.80.0000.02311.09
4.4.70.0070.02311.09
4.4.60.0030.01311.09
4.4.50.0000.02711.09
4.4.40.0000.04311.09
4.4.30.0030.01711.09
4.4.20.0100.00711.09
4.4.10.0030.02711.09
4.4.00.0030.03711.09
4.3.110.0030.02311.09
4.3.100.0030.01011.09
4.3.90.0000.01311.09
4.3.80.0030.03311.09
4.3.70.0000.02011.09
4.3.60.0000.01311.09
4.3.50.0030.01311.09
4.3.40.0030.02011.09
4.3.30.0000.01711.09
4.3.20.0000.01711.09
4.3.10.0000.02711.09
4.3.00.0030.01311.09

preferences:
52.44 ms | 401 KiB | 5 Q