3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo function_exists('getdir') ? 'yes' : 'no', PHP_EOL; var_dump(getdir('/tmp'));

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.60.0090.00618.05
8.3.50.0070.00718.16
8.3.40.0150.00618.69
8.3.30.0140.00718.84
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.180.0040.01125.92
8.2.170.0130.00318.96
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00826.35
8.2.110.0060.01222.25
8.2.100.0120.00019.63
8.2.90.0090.00018.09
8.2.80.0000.00818.86
8.2.70.0040.00417.63
8.2.60.0050.00317.79
8.2.50.0060.00318.07
8.2.40.0030.00618.22
8.2.30.0070.00017.93
8.2.20.0070.00017.97
8.2.10.0000.00720.96
8.2.00.0050.00319.06
8.1.280.0110.00425.92
8.1.270.0060.00320.65
8.1.260.0020.00528.09
8.1.250.0040.00428.09
8.1.240.0030.00623.82
8.1.230.0040.00719.09
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00418.49
8.1.160.0050.00318.94
8.1.150.0040.00418.79
8.1.140.0020.00518.82
8.1.130.0030.00317.33
8.1.120.0030.00417.39
8.1.110.0000.00817.25
8.1.100.0040.00417.21
8.1.90.0030.00317.39
8.1.80.0060.00317.35
8.1.70.0020.00517.38
8.1.60.0070.00417.37
8.1.50.0040.00417.46
8.1.40.0040.00417.47
8.1.30.0040.00417.45
8.1.20.0030.00617.56
8.1.10.0000.00817.38
8.1.00.0050.00317.41
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.45
8.0.270.0030.00318.06
8.0.260.0000.00716.94
8.0.250.0000.00716.97
8.0.240.0000.00616.93
8.0.230.0030.00316.88
8.0.220.0030.00316.91
8.0.210.0030.00316.95
8.0.200.0040.00416.95
8.0.190.0040.00416.95
8.0.180.0030.00316.86
8.0.170.0030.00616.79
8.0.160.0040.00416.91
8.0.150.0030.00316.71
8.0.140.0050.00316.74
8.0.130.0030.00313.29
8.0.120.0060.00316.84
8.0.110.0030.00416.86
8.0.100.0000.00716.88
8.0.90.0070.00016.77
8.0.80.0040.01516.81
8.0.70.0040.00416.86
8.0.60.0000.00816.74
8.0.50.0030.00516.95
8.0.30.0070.01216.78
8.0.20.0140.00916.87
8.0.10.0150.00816.86
8.0.00.0140.00416.90
7.4.330.0050.00015.55
7.4.320.0060.00016.39
7.4.300.0040.00416.39
7.4.290.0050.00316.35
7.4.280.0000.00816.46
7.4.270.0080.00016.53
7.4.260.0000.00513.17
7.4.250.0000.00716.39
7.4.240.0030.00316.39
7.4.230.0070.00016.65
7.4.220.0040.00316.52
7.4.210.0070.00716.52
7.4.200.0080.00016.53
7.4.160.0130.00716.52
7.4.150.0070.01216.48
7.4.140.0140.00816.38
7.4.130.0120.00516.45
7.4.120.0100.00916.36
7.4.110.0100.00816.47
7.4.100.0140.00616.45
7.4.90.0100.00916.38
7.4.80.0080.01116.43
7.4.70.0140.00716.42
7.4.60.0080.01216.37
7.4.50.0160.00716.30
7.4.40.0110.01016.38
7.4.30.0100.01116.41
7.4.20.0140.00816.44
7.4.10.0190.00516.45
7.4.00.0160.01016.52
7.3.330.0000.00716.35
7.3.320.0000.00513.00
7.3.310.0040.00416.22
7.3.300.0000.00616.15
7.3.290.0070.00916.28
7.3.280.0040.01116.20
7.3.270.0130.00816.28
7.3.260.0140.00716.26
7.3.250.0090.00916.29
7.3.240.0110.00616.24
7.3.230.0130.00616.26
7.3.220.0120.00616.21
7.3.210.0120.00716.15
7.3.200.0090.01116.14
7.3.190.0090.01016.22
7.3.180.0120.00916.14
7.3.170.0100.01116.18
7.3.160.0110.01116.22
7.3.150.0110.00816.20
7.3.140.0150.00816.19
7.3.130.0140.01016.21
7.3.120.0120.01016.15
7.3.110.0160.00716.18
7.3.100.0160.00616.09
7.3.90.0140.00816.44
7.3.80.0120.00916.15
7.3.70.0140.00816.31
7.3.60.0140.00816.34
7.3.50.0120.01016.36
7.3.40.0160.00916.35
7.3.30.0110.00716.36
7.3.20.0120.00816.32
7.3.10.0130.00716.26
7.3.00.0140.00916.24

preferences:
29.96 ms | 401 KiB | 5 Q