3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Enter your code here, enjoy! $array = array("nonce" => "1512266912", "req" => json_encode(array('Currency'=> "")), "base64" => base64_encode(md5(json_encode(array('Currency'=> "")), true)), "url0" => "https://www.cryptopia.co.nz/Api/GetBalance", "url1" => strtolower(urlencode("https://www.cryptopia.co.nz/Api/GetBalance")), "pk" => "3bRaCjuhOaEHwLmNl4ADm4NZDSHUevZvVM0Njz9RXvIo", "sign" => "13c55a9a358947d481e2788dc294486b" . "POST" . strtolower(urlencode("https://www.cryptopia.co.nz/Api/GetBalance")) . "1512266912" . base64_encode(md5(json_encode(array('Currency'=> "")), true)), "hmac" => base64_encode( hash_hmac("sha256", "13c55a9a358947d481e2788dc294486bPOSThttps%3A%2F%2Fwww.cryptopia.co.nz%2FApi%2FGetBalance1512266912xAU1rEJ+vKG36c3vlR4nTw==", base64_decode("3bRaCjuhOaEHwLmNl4ADm4NZDSHUevZvVM0Njz9RXvIo"), true ) ) ); foreach( $array as $key => $value ){ echo $key."\t=>\t".$value."\n"; }

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.90.0050.00226.77
8.3.80.0040.00816.75
8.3.70.0130.00316.58
8.3.60.0120.00318.18
8.3.50.0180.00517.34
8.3.40.0100.00718.75
8.3.30.0130.00718.71
8.3.20.0080.00020.25
8.3.10.0080.00021.90
8.3.00.0070.00021.90
8.2.210.0040.00426.77
8.2.200.0080.00616.50
8.2.190.0090.01216.75
8.2.180.0120.00325.92
8.2.170.0120.00322.96
8.2.160.0140.00019.50
8.2.150.0080.00024.18
8.2.140.0080.00424.66
8.2.130.0070.00020.56
8.2.120.0060.00326.35
8.2.110.0030.00621.04
8.2.100.0120.00017.91
8.2.90.0040.00418.03
8.2.80.0080.00019.39
8.2.70.0050.00517.50
8.2.60.0060.00317.75
8.2.50.0050.00317.50
8.2.40.0040.00419.27
8.2.30.0080.00018.20
8.2.20.0040.00418.13
8.2.10.0050.00218.06
8.2.00.0000.00718.05
8.1.290.0040.00430.84
8.1.280.0140.00025.92
8.1.270.0060.00322.20
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00822.61
8.1.230.0080.00420.88
8.1.220.0050.00317.79
8.1.210.0060.00318.85
8.1.200.0030.00617.23
8.1.190.0030.00717.35
8.1.180.0000.01018.10
8.1.170.0030.00517.62
8.1.160.0040.00418.84
8.1.150.0000.00720.07
8.1.140.0040.00419.14
8.1.130.0030.00318.91
8.1.120.0030.00317.33
8.1.110.0040.00417.54
8.1.100.0080.00017.43
8.1.90.0030.00617.34
8.1.80.0030.00517.41
8.1.70.0040.00417.52
8.1.60.0040.00417.66
8.1.50.0050.00317.45
8.1.40.0000.00717.51
8.1.30.0080.00017.60
8.1.20.0030.00617.64
8.1.10.0050.00317.63
8.1.00.0000.00717.63
8.0.300.0040.00419.94
8.0.290.0040.00416.75
8.0.280.0000.00718.34
8.0.270.0030.00517.28
8.0.260.0000.00916.72
8.0.250.0070.00016.86
8.0.240.0070.00016.89
8.0.230.0000.00716.98
8.0.220.0070.00016.91
8.0.210.0030.00316.80
8.0.200.0070.00016.84
8.0.190.0040.00416.94
8.0.180.0070.00016.92
8.0.170.0070.00016.91
8.0.160.0030.00416.99
8.0.150.0040.00416.85
8.0.140.0000.00716.85
8.0.130.0000.00613.38
8.0.120.0030.00516.90
8.0.110.0040.00416.83
8.0.100.0070.00016.77
8.0.90.0070.00016.79
8.0.80.0110.00616.91
8.0.70.0030.00516.98
8.0.60.0070.00016.93
8.0.50.0000.00716.90
8.0.30.0120.00916.93
8.0.20.0100.01017.40
8.0.10.0000.00716.96
8.0.00.0030.01516.70
7.4.330.0020.00215.55
7.4.320.0030.00316.66
7.4.300.0030.00316.58
7.4.290.0080.00016.52
7.4.280.0030.00616.63
7.4.270.0000.00916.63
7.4.260.0040.00416.44
7.4.250.0000.00716.59
7.4.240.0030.00616.54
7.4.230.0000.00716.42
7.4.220.0120.00616.56
7.4.210.0090.01116.59
7.4.200.0050.00216.53
7.4.160.0160.00316.54
7.4.150.0150.01217.40
7.4.140.0140.00817.86
7.4.130.0060.01216.37
7.4.120.0160.00716.51
7.4.110.0040.01316.66
7.4.100.0070.01016.63
7.4.90.0060.01116.63
7.4.80.0070.01119.39
7.4.70.0110.00716.55
7.4.60.0000.01516.49
7.4.50.0100.00616.45
7.4.40.0110.00616.62
7.4.30.0060.01016.61
7.4.00.0120.00314.89
7.3.330.0000.00513.10
7.3.320.0030.00313.14
7.3.310.0040.00416.28
7.3.300.0030.00316.20
7.3.290.0070.00816.29
7.3.280.0060.00916.19
7.3.270.0030.01417.40
7.3.260.0090.01016.46
7.3.250.0100.01016.51
7.3.240.0110.00516.57
7.3.230.0060.01116.49
7.3.210.0100.01016.55
7.3.200.0050.01016.34
7.3.190.0130.00316.41
7.3.180.0120.00416.56
7.3.170.0160.00016.30
7.3.160.0050.01116.39
7.3.00.0110.00416.58
7.2.330.0050.01316.46
7.2.320.0090.00916.78
7.2.310.0110.01116.53
7.2.300.0090.00916.64
7.2.290.0070.01316.56
7.2.130.0080.00816.88
7.2.120.0090.00616.62
7.2.110.0130.00316.90
7.2.100.0070.00716.80
7.2.90.0060.00916.50
7.2.80.0110.00416.91
7.2.70.0070.00316.85
7.2.60.0100.00516.83
7.2.50.0040.01216.96
7.2.40.0100.00016.90
7.2.30.0070.00716.84
7.2.20.0060.00616.89
7.2.10.0030.00616.51
7.2.00.0030.01118.14
7.1.250.0030.00715.76
7.1.240.0000.01315.74
7.1.230.0040.00715.75
7.1.220.0040.00715.86
7.1.210.0040.00415.36
7.1.200.0030.00515.66
7.1.190.0080.00415.70
7.1.180.0040.00715.38
7.1.170.0140.00815.73
7.1.160.0030.00815.58
7.1.150.0000.00915.55
7.1.140.0060.00915.66
7.1.130.0000.01115.71
7.1.120.0050.00817.25
7.1.110.0030.00916.93
7.1.100.0060.00816.76
7.1.90.0100.00217.00
7.1.80.0080.00316.98
7.1.70.0000.01316.27
7.1.60.0100.01025.29
7.1.50.0110.01225.21
7.1.40.0140.00725.03
7.1.30.0140.00824.85
7.1.20.0130.01125.02
7.1.10.0050.01016.10
7.1.00.0030.00916.04
7.0.330.0130.00315.25
5.6.380.0100.00014.22

preferences:
28.91 ms | 401 KiB | 5 Q