3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 1_000_000_000, // int 6.674_083e-11, // float 299_792_458, // decimal 0xCAFE_F00D, // hexadecimal 0b0101_1111, // binary 0137_041 // octal ]; var_dump($arr);

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.70.0130.00316.75
8.3.60.0140.00418.43
8.3.50.0080.00516.39
8.3.40.0190.00020.48
8.3.30.0110.00418.33
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.190.0110.00416.63
8.2.180.0140.00725.92
8.2.170.0070.00718.64
8.2.160.0140.00322.96
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0040.00419.64
8.2.110.0050.00520.26
8.2.100.0030.00720.42
8.1.280.0140.00325.92
8.1.270.0060.00323.95
8.1.260.0060.00326.35
8.1.250.0120.00028.09
8.1.240.0030.00620.53
8.1.230.0070.00418.67
8.0.70.0090.01216.73

preferences:
49.08 ms | 401 KiB | 5 Q