3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($handle = opendir('/in/niam5')) { echo "Directory handle: $handle\n"; echo "Entries:\n"; /* This is the correct way to loop over the directory. */ while (false !== ($entry = readdir($handle))) { echo "$entry\n"; } closedir($handle); } }

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.90.0070.00016.93
8.0.80.0080.00016.80
8.0.70.0000.00716.82
8.0.60.0070.00016.78
8.0.50.0070.00016.84
8.0.30.0070.00016.75
8.0.20.0040.00416.76
8.0.10.0040.00416.83
8.0.00.0000.00816.80
7.4.220.0040.00416.33
7.4.210.0000.00716.54
7.4.200.0040.00416.44
7.4.190.0040.00416.41
7.4.180.0030.00516.41
7.4.160.0000.00716.27
7.4.150.0050.00316.28
7.4.140.0040.00416.09
7.4.130.0000.00816.27
7.4.120.0070.00016.23
7.4.110.0000.00816.34
7.4.100.0000.00816.27
7.4.90.0040.00416.34
7.4.80.0000.00716.32
7.4.70.0020.00516.13
7.4.60.0030.00316.22
7.4.50.0040.00416.36
7.4.40.0050.00216.37
7.4.30.0030.00316.43
7.4.20.0000.00816.36
7.4.10.0050.00316.22
7.4.00.0070.00016.28
7.3.290.0030.00516.20
7.3.280.0030.00316.16
7.3.270.0040.00416.16
7.3.260.0070.00016.23
7.3.250.0030.00316.02
7.3.240.0000.00716.20
7.3.230.0050.00216.16
7.3.220.0030.00316.02
7.3.210.0070.00016.09
7.3.200.0040.00416.10
7.3.190.0030.00316.02
7.3.180.0040.00416.13
7.3.170.0000.00715.96
7.3.160.0000.00716.15
7.3.150.0040.00416.15
7.3.140.0040.00416.13
7.3.130.0000.00716.14
7.3.120.0000.00816.06
7.3.110.0030.00516.04
7.3.100.0000.00715.95
7.3.90.0030.00316.21
7.3.80.0080.00016.02
7.3.70.0070.00016.18
7.3.60.0030.00316.20
7.3.50.0040.00416.26
7.3.40.0020.00516.08
7.3.30.0030.00316.21
7.3.20.0000.00818.11
7.3.10.0000.00817.98
7.3.00.0000.00718.06
7.2.340.0040.00415.97
7.2.330.0050.00216.02
7.2.320.0040.00416.08
7.2.310.0050.00316.07
7.2.300.0000.00716.13
7.2.290.0040.00416.03
7.2.280.0040.00416.02
7.2.270.0040.00416.16
7.2.260.0000.00716.10
7.2.250.0080.00016.14
7.2.240.0040.00416.14
7.2.230.0000.00715.95
7.2.220.0000.00716.13
7.2.210.0080.00016.12
7.2.200.0000.00716.24
7.2.190.0000.00716.23
7.2.180.0080.00016.23
7.2.170.0030.00316.32
7.2.160.0070.00016.26
7.2.150.0030.00318.15
7.2.140.0030.00518.24
7.2.130.0070.00018.29
7.2.120.0080.00018.22
7.2.110.0040.00418.17
7.2.100.0030.00518.21
7.2.90.0040.00418.30
7.2.80.0000.00818.18
7.2.70.0040.00418.16
7.2.60.0080.00018.22
7.2.50.0050.00318.21
7.2.40.0040.00418.28
7.2.30.0000.00818.23
7.2.20.0030.00518.27
7.2.10.0040.00418.22
7.2.00.0030.00518.24
7.1.330.0040.00417.17
7.1.320.0000.00717.13
7.1.310.0040.00416.99
7.1.300.0040.00417.04
7.1.290.0000.00617.21
7.1.280.0030.00317.02
7.1.270.0000.00617.15
7.1.260.0070.00017.18
7.1.250.0000.00717.07
7.1.240.0000.00716.93
7.1.230.0040.00417.18
7.1.220.0050.00217.11
7.1.210.0040.00417.08
7.1.200.0040.00417.08
7.1.190.0080.00017.04
7.1.180.0020.00516.98
7.1.170.0000.00717.08
7.1.160.0000.00716.93
7.1.150.0000.00716.93
7.1.140.0070.00017.08
7.1.130.0030.00317.11
7.1.120.0060.00016.94
7.1.110.0030.00316.95
7.1.100.0060.00016.99
7.1.90.0040.00417.03
7.1.80.0000.00717.02
7.1.70.0000.00716.96
7.1.60.0030.00317.07
7.1.50.0030.00317.03
7.1.40.0060.00017.01
7.1.30.0060.00017.02
7.1.20.0030.00317.09
7.1.10.0000.00716.95
7.1.00.0060.00016.96
7.0.330.0060.00016.83
7.0.320.0030.00316.82
7.0.310.0030.00516.66
7.0.300.0040.00416.86
7.0.290.0070.00016.73
7.0.280.0060.00016.77
7.0.270.0000.00616.70
7.0.260.0030.00316.73
7.0.250.0060.00016.99
7.0.240.0040.00416.96
7.0.230.0020.00516.86
7.0.220.0030.00316.83
7.0.210.0000.00616.68
7.0.200.0000.00716.71
7.0.190.0000.00616.87
7.0.180.0000.00616.89
7.0.170.0050.00216.90
7.0.160.0000.00716.75
7.0.150.0000.00716.84
7.0.140.0040.00416.71
7.0.130.0040.00416.72
7.0.120.0070.00016.89
7.0.110.0000.00716.82
7.0.100.0050.00316.73
7.0.90.0070.00016.61
7.0.80.0030.00516.71
7.0.70.0000.00616.72
7.0.60.0030.00316.73
7.0.50.0000.00716.66
7.0.40.0000.00616.87
7.0.30.0020.00516.77
7.0.20.0030.00316.77
7.0.10.0030.00316.75
7.0.00.0000.00616.73
5.6.400.0030.00315.55
5.6.390.0060.00015.40
5.6.380.0040.00415.70
5.6.370.0030.00315.51
5.6.360.0030.00315.48
5.6.350.0040.00415.68
5.6.340.0060.00015.68
5.6.330.0040.00415.62
5.6.320.0000.00615.59
5.6.310.0040.00415.46
5.6.300.0040.00415.30
5.6.290.0030.00515.70
5.6.280.0040.00415.43
5.6.270.0040.00415.36
5.6.260.0060.00015.45
5.6.250.0030.00315.51
5.6.240.0070.00015.59
5.6.230.0040.00415.71
5.6.220.0040.00415.57
5.6.210.0040.00415.60
5.6.200.0030.00315.64
5.6.190.0000.00815.72
5.6.180.0000.00715.61
5.6.170.0060.00015.59
5.6.160.0030.00515.61
5.6.150.0030.00515.65
5.6.140.0000.00715.53
5.6.130.0000.00715.70
5.6.120.0030.00515.64
5.6.110.0000.00715.67
5.6.100.0030.00315.39
5.6.90.0060.00015.66
5.6.80.0000.00715.65
5.6.70.0040.00415.77
5.6.60.0070.00015.70
5.6.50.0000.00715.44
5.6.40.0040.00415.38
5.6.30.0040.00415.57
5.6.20.0000.00615.45
5.6.10.0030.00315.61
5.6.00.0030.00315.59
5.5.380.0000.00715.61
5.5.370.0000.00715.72
5.5.360.0000.00615.43
5.5.350.0080.00015.44
5.5.340.0050.00215.50
5.5.330.0070.00015.34
5.5.320.0000.00715.34
5.5.310.0000.00715.55
5.5.300.0070.00015.56
5.5.290.0050.00215.42
5.5.280.0070.00015.47
5.5.270.0070.00015.25
5.5.260.0000.00715.53
5.5.250.0030.00315.52
5.5.240.0070.00015.53
5.5.230.0040.00415.67
5.5.220.0070.00015.39
5.5.210.0070.00015.68
5.5.200.0020.00515.36
5.5.190.0040.00415.10
5.5.180.0040.00415.37
5.5.170.0030.00315.34
5.5.160.0030.00315.38
5.5.150.0070.00015.31
5.5.140.0070.00015.19
5.5.130.0000.00715.23
5.5.120.0000.00715.25
5.5.110.0000.00715.20
5.5.100.0000.00615.52
5.5.90.0040.00415.48
5.5.80.0000.00715.45
5.5.70.0000.00615.45
5.5.60.0040.00315.39
5.5.50.0000.00715.45
5.5.40.0030.00315.57
5.5.30.0070.00015.48
5.5.20.0020.00515.49
5.5.10.0000.00615.38
5.5.00.0000.00715.52
5.4.450.0030.00312.69
5.4.440.0020.00212.69
5.4.430.0000.00512.69
5.4.420.0000.00512.69
5.4.410.0050.00012.69
5.4.400.0020.00212.69
5.4.390.0050.00012.69
5.4.380.0050.00012.69
5.4.370.0000.00512.69
5.4.360.0000.00512.69
5.4.350.0050.00012.69
5.4.340.0050.00012.69
5.4.330.0020.00212.69
5.4.320.0040.01912.59
5.4.310.0030.02212.60
5.4.300.0040.02012.59
5.4.290.0060.01912.60
5.4.280.0060.01812.54
5.4.270.0050.01812.54
5.4.260.0040.02412.54
5.4.250.0020.02212.54
5.4.240.0040.02012.54
5.4.230.0070.02012.54
5.4.220.0020.02312.54
5.4.210.0050.01812.54
5.4.200.0050.02312.54
5.4.190.0070.01812.54
5.4.180.0060.02012.54
5.4.170.0060.01812.54
5.4.160.0050.02212.54
5.4.150.0040.02012.54
5.4.140.0060.02112.38
5.4.130.0040.02012.37
5.4.120.0020.02112.36
5.4.110.0060.01712.35
5.4.100.0040.01912.35
5.4.90.0040.02212.35
5.4.80.0060.02012.35
5.4.70.0060.01812.35
5.4.60.0030.02212.35
5.4.50.0070.02412.35
5.4.40.0050.01812.34
5.4.30.0050.02012.34
5.4.20.0060.01912.34
5.4.10.0030.02112.34
5.4.00.0040.01812.09
5.3.290.0030.02612.79
5.3.280.0060.02012.70
5.3.270.0030.02312.78
5.3.260.0020.02312.71
5.3.250.0040.02212.72
5.3.240.0060.02012.71
5.3.230.0070.02112.70
5.3.220.0060.02112.69
5.3.210.0060.02112.70
5.3.200.0030.02112.69
5.3.190.0060.02212.79
5.3.180.0060.01812.77
5.3.170.0040.02112.68
5.3.160.0040.02112.79
5.3.150.0060.02312.87
5.3.140.0050.02012.68
5.3.130.0050.02212.83
5.3.120.0040.02112.67
5.3.110.0070.02012.72
5.3.100.0020.02312.40
5.3.90.0050.02112.39
5.3.80.0090.02112.42
5.3.70.0040.02012.40
5.3.60.0020.02212.38
5.3.50.0060.01812.35
5.3.40.0050.02612.35
5.3.30.0040.02012.33
5.3.20.0070.01712.21
5.3.10.0060.01612.20
5.3.00.0020.02212.19
5.2.170.0020.01910.94
5.2.160.0040.01910.94
5.2.150.0050.01810.94
5.2.140.0030.01610.94
5.2.130.0040.01710.92
5.2.120.0050.01810.92
5.2.110.0020.01810.92
5.2.100.0060.01710.92
5.2.90.0050.01410.92
5.2.80.0040.01610.92
5.2.70.0050.01710.92
5.2.60.0020.01810.89
5.2.50.0040.01810.88
5.2.40.0010.02110.86
5.2.30.0040.01510.85
5.2.20.0050.01610.85
5.2.10.0060.01610.81
5.2.00.0040.01610.74
5.1.60.0060.01210.38
5.1.50.0050.01510.38
5.1.40.0040.01310.37
5.1.30.0030.01610.55
5.1.20.0050.01510.56
5.1.10.0020.01910.42
5.1.00.0040.01410.42
5.0.50.0040.0109.66
5.0.40.0020.0129.59
5.0.30.0030.0189.49
5.0.20.0010.0139.48
5.0.10.0050.0109.47
5.0.00.0030.0179.46
4.4.90.0030.0078.74
4.4.80.0020.0098.72
4.4.70.0040.0078.72
4.4.60.0020.0098.72
4.4.50.0030.0078.73
4.4.40.0020.0138.70
4.4.30.0020.0098.72
4.4.20.0010.0108.77
4.4.10.0030.0118.77
4.4.00.0010.0158.73
4.3.110.0020.0128.68
4.3.100.0010.0118.68
4.3.90.0010.0108.66
4.3.80.0010.0188.64
4.3.70.0020.0128.66
4.3.60.0030.0098.66
4.3.50.0020.0118.66
4.3.40.0020.0128.61
4.3.30.0030.0107.99
4.3.20.0010.0117.97
4.3.10.0020.0107.96
4.3.00.0010.01015.42

preferences:
145.2 ms | 1398 KiB | 7 Q