3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr =Range(1,5); Shuffle($arr); 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)
7.4.00.0070.01014.77
7.3.120.0100.00714.88
7.3.110.0060.01214.49
7.3.100.0000.01414.95
7.3.90.0040.00814.94
7.3.80.0070.00714.81
7.3.70.0040.00814.78
7.3.60.0060.01014.72
7.3.50.0070.00714.61
7.3.40.0140.00014.41
7.3.30.0090.00614.69
7.3.20.0070.01116.25
7.3.10.0100.00616.54
7.3.00.0090.00616.57
7.2.250.0090.00914.75
7.2.240.0110.00715.11
7.2.230.0040.01515.11
7.2.220.0030.00915.11
7.2.210.0000.01414.66
7.2.200.0040.01114.88
7.2.190.0100.00714.93
7.2.180.0130.00314.79
7.2.170.0060.00714.87
7.2.160.0030.01314.89
7.2.150.0040.01416.95
7.2.140.0070.00716.81
7.2.130.0070.00316.83
7.2.120.0040.00716.66
7.2.110.0070.01016.41
7.2.100.0000.01516.75
7.2.90.0030.01116.88
7.2.80.0040.01216.73
7.2.70.0070.00716.96
7.2.60.0030.01316.82
7.2.50.0030.01316.88
7.2.40.0070.01016.93
7.2.30.0040.00416.67
7.2.20.0090.00016.74
7.2.10.0040.00416.67
7.2.00.0030.00716.77
7.1.330.0130.00315.64
7.1.320.0000.01215.89
7.1.310.0130.00315.85
7.1.300.0000.01715.40
7.1.290.0060.01015.78
7.1.280.0030.00715.46
7.1.270.0060.00315.77
7.1.260.0000.01515.48
7.1.250.0000.01015.69
7.1.90.0020.01118.08
7.1.80.0070.00618.05
7.1.70.0050.00716.97
7.1.60.0130.01234.83
7.1.50.0160.00934.71
7.1.40.0170.00934.34
7.1.30.0150.01434.36
7.1.20.0180.00734.52
7.1.10.0000.01316.48
7.1.00.0010.01116.68
7.0.230.0020.01017.83
7.0.220.0030.01117.68
7.0.210.0040.00816.37
7.0.200.0070.00516.57
7.0.190.0030.00916.56
7.0.180.0040.00816.28
7.0.170.0040.00916.18
7.0.160.0050.00916.21
7.0.150.0060.00716.26
7.0.140.0060.00816.27
7.0.130.0060.00616.51
7.0.120.0020.01016.30
7.0.110.0040.00816.18
7.0.100.0040.00816.26
7.0.90.0080.00616.11
7.0.80.0070.00716.12
7.0.70.0060.00716.15
7.0.60.0060.00815.93
7.0.50.0030.01016.26
7.0.40.0050.01016.40
7.0.30.0020.01116.32
7.0.20.0020.01216.28
7.0.10.0070.00616.36
7.0.00.0070.00616.31

preferences:
52.37 ms | 403 KiB | 5 Q