3v4l.org

run code in 300+ PHP versions simultaneously
<?php //PHPの関数 //様々な関数 $a =""; //empty関数 /*以下の場合にTRUE ・空白の数値 ・文字列、配列、数値の0 ・文字列の半角の0 ・NULLやFALSE ・変数が定義されただけの状態*/ $_a=empty($a); echo $_a.PHP_EOL;
based on 0SZjJ

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.0.20.0100.00917.11
8.0.10.0160.00816.98
8.0.00.0070.01117.26
7.4.140.0070.01116.54
7.4.130.0110.00516.29
7.4.120.0000.01716.22
7.4.110.0080.01016.07
7.4.100.0100.01316.08
7.4.90.0080.00816.32
7.4.80.0040.01316.21
7.4.70.0120.00316.39
7.4.60.0100.00616.34
7.4.50.0120.00616.15
7.4.40.0120.00415.89
7.4.30.0110.00716.53
7.4.20.0080.00816.24
7.4.10.0070.00816.35
7.4.00.0100.00716.54
7.3.260.0110.00716.47
7.3.250.0040.01216.29
7.3.240.0090.00916.04
7.3.230.0100.00716.14
7.3.220.0090.01316.29
7.3.210.0120.00316.24
7.3.200.0100.00716.23
7.3.190.0180.00616.03
7.3.180.0090.00816.27
7.3.170.0090.00916.29
7.3.160.0140.00316.17
7.3.150.0030.01416.23
7.3.140.0090.00916.31
7.3.130.0110.00616.29
7.3.120.0130.00416.09
7.3.110.0040.01316.20
7.3.100.0100.00716.36
7.3.90.0150.00916.30
7.3.80.0130.00516.03
7.3.70.0060.01216.23
7.3.60.0130.01016.13
7.3.50.0070.01416.07
7.3.40.0180.00616.10
7.3.30.0160.00016.01
7.3.20.0110.01516.24
7.3.10.0130.00616.02
7.3.00.0090.01816.18