3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = range(2,20); foreach($range as $k){ $tokens["token{$k}h"] = substr(str_shuffle("0p23456789ABCDEFGHIJKLMNoPQRSZUVWXYZ"), 0, 20); } print_r($tokens); extract($tokens); //make array to variables for future use echo "token10h is = $token10h"; ?>

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.60.0080.00816.55
7.4.50.0080.00816.32
7.4.40.0030.01416.40
7.4.30.0120.00416.31
7.4.20.0120.00416.49
7.4.10.0070.01016.36
7.4.00.0060.01016.65
7.3.180.0100.00716.22
7.3.170.0000.01616.39
7.3.160.0040.01216.36
7.3.150.0120.00416.47
7.3.140.0110.00716.02
7.3.130.0120.00316.38
7.3.120.0030.01316.32
7.3.110.0090.00616.18
7.3.100.0050.01016.29
7.3.90.0160.00316.18
7.3.80.0080.00816.48
7.3.70.0060.01016.32
7.3.60.0130.00316.32
7.3.50.0070.00716.13
7.3.40.0130.00316.32
7.3.30.0090.00616.45
7.3.20.0090.00916.38
7.3.10.0080.00816.52
7.3.00.0100.00616.29
7.2.310.0080.00816.68
7.2.300.0060.01016.71
7.2.290.0060.01116.37
7.2.280.0060.01116.36
7.2.270.0080.00816.44
7.2.260.0090.00616.55
7.2.250.0100.00716.32
7.2.240.0060.01216.63
7.2.230.0090.00916.54
7.2.220.0060.00916.30
7.2.210.0090.00816.67
7.2.200.0130.00316.46
7.2.190.0070.00716.52
7.2.180.0120.00316.56
7.2.170.0080.00816.38
7.2.160.0100.00716.52
7.2.150.0080.00816.49
7.2.140.0080.00816.64
7.2.130.0100.00716.71
7.2.120.0130.00316.49
7.2.110.0120.00416.42
7.2.100.0040.01316.51
7.2.90.0070.01016.58
7.2.80.0170.00016.44
7.2.70.0120.00416.59
7.2.60.0070.01016.56
7.2.50.0110.00616.59
7.2.40.0030.01316.50
7.2.30.0190.00616.67
7.2.20.0120.00616.46
7.2.10.0060.01216.56
7.2.00.0030.01516.40

preferences:
24.53 ms | 401 KiB | 5 Q