3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = ["a" => " assd "]; foreach($arr as $value) { var_dump($value) . PHP_EOL; }

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.5.10.0100.01116.52
8.5.00.0160.01019.93
8.4.160.0190.00721.32
8.4.150.0010.00114.05
8.4.140.0150.00717.44
8.4.130.0120.00817.70
8.4.120.0070.01324.07
8.4.110.0050.00922.55
8.4.100.0110.00918.86
8.4.90.0070.01219.00
8.4.80.0060.00320.23
8.4.70.0090.00717.84
8.4.60.0070.00518.68
8.4.50.0080.00720.26
8.4.40.0000.00819.18
8.4.30.0130.00720.25
8.4.20.0000.00818.88
8.4.10.0040.00417.73
8.3.290.0090.01120.76
8.3.280.0130.00718.29
8.3.270.0140.00716.52
8.3.260.0100.01116.52
8.3.250.0110.00718.95
8.3.240.0100.00817.12
8.3.230.0130.00716.63
8.3.220.0080.00919.13
8.3.210.0120.00616.59
8.3.200.0060.00318.41
8.3.190.0120.00717.04
8.3.180.0120.00717.16
8.3.170.0100.00718.84
8.3.160.0150.00316.91
8.3.150.0110.00717.29
8.3.140.0090.00916.68
8.3.130.0130.00718.28
8.3.120.0080.00818.78
8.3.110.0080.00020.94
8.3.100.0090.00624.06
8.3.90.0040.00426.77
8.3.80.0060.00316.38
8.3.70.0120.00616.58
8.3.60.0080.01218.30
8.3.50.0110.00716.33
8.3.40.0090.00918.62
8.3.30.0140.00318.63
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0070.00326.16
8.2.300.0120.00722.16
8.2.290.0130.00520.50
8.2.280.0080.01118.10
8.2.270.0130.00617.13
8.2.260.0030.01216.54
8.2.250.0080.00016.70
8.2.240.0070.00716.58
8.2.230.0070.00422.58
8.2.220.0090.00637.54
8.2.210.0000.00726.77
8.2.200.0060.00316.63
8.2.190.0170.00016.58
8.2.180.0150.00325.92
8.2.170.0100.01018.79
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0000.00826.16
8.2.120.0070.00019.76
8.2.110.0100.00020.55
8.2.100.0060.00320.55
8.1.340.0140.00817.41
8.1.330.0090.00522.01
8.1.320.0120.00716.28
8.1.310.0100.00716.53
8.1.300.0070.00016.28
8.1.290.0080.00018.88
8.1.280.0060.01525.92
8.1.270.0090.00623.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0130.00322.14
8.1.230.0070.00420.40
8.0.30.0100.00716.88

preferences:
36.11 ms | 403 KiB | 5 Q