3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach ( new RecursiveIteratorIterator ( new RecursiveDirectoryIterator ( dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . "/usr") ) as $filename ) { $path_parts = pathinfo ( $filename ); if (strpos ( $path_parts ['basename'], ".class.php" ) !== FALSE) { $fullpath = $path_parts ['dirname'] . "\\" . $path_parts ['basename']; $class_parts = explode ( ".class.php", $path_parts ['basename'] ); if (count ( $class_parts ) != 0) { include_once $fullpath; } } }

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.0070.01116.63
8.3.50.0140.00717.51
8.3.40.0040.01118.78
8.3.30.0140.00318.84
8.3.20.0080.00018.90
8.3.10.0090.00020.53
8.3.00.0090.00317.38
8.2.180.0090.00616.63
8.2.170.0000.01422.96
8.2.160.0070.00721.06
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00819.64
8.2.110.0050.00520.93
8.2.100.0120.00017.72
8.2.90.0000.00819.09
8.2.80.0030.00517.97
8.2.70.0030.00617.36
8.2.60.0040.00717.80
8.2.50.0030.00618.07
8.2.40.0030.00518.22
8.2.30.0040.00418.03
8.2.20.0050.00317.68
8.2.10.0030.00517.71
8.2.00.0050.00317.78
8.1.280.0110.00425.92
8.1.270.0050.00324.66
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0060.00321.50
8.1.230.0080.00417.42
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0080.00017.35
8.1.190.0030.00517.23
8.1.180.0090.00018.10
8.1.170.0000.00818.82
8.1.160.0070.00018.86
8.1.150.0030.00618.57
8.1.140.0030.00617.42
8.1.130.0080.00017.43
8.1.120.0070.00017.48
8.1.110.0000.00717.44
8.1.100.0040.00417.34
8.1.90.0070.00017.43
8.1.80.0040.00417.40
8.1.70.0000.00717.43
8.1.60.0070.00017.44
8.1.50.0070.00017.50
8.1.40.0030.00517.55
8.1.30.0040.00417.54
8.1.20.0090.00017.63
8.1.10.0080.00017.43
8.1.00.0050.00217.42
8.0.300.0000.00818.77
8.0.290.0040.00416.88
8.0.280.0000.00818.42
8.0.270.0000.00717.30
8.0.260.0070.00016.93
8.0.250.0000.00816.95
8.0.240.0000.00816.96
8.0.230.0000.00816.97
8.0.220.0050.00216.96
8.0.210.0030.00316.96
8.0.200.0030.00317.04
8.0.190.0070.00716.87
8.0.180.0000.00816.91
8.0.170.0090.00016.93
8.0.160.0000.00716.95
8.0.150.0080.00016.98
8.0.140.0060.00616.80
8.0.130.0000.00613.38
8.0.120.0050.00315.16
8.0.110.0020.00615.12
8.0.100.0020.00515.19
8.0.90.0040.00315.10
8.0.80.0060.00515.21
8.0.70.0050.00215.19
8.0.60.0020.00414.99
8.0.50.0030.00315.07
8.0.30.0080.00715.78
8.0.20.0110.00315.91
8.0.10.0010.00615.22
8.0.00.0070.00815.63
7.4.330.0000.00512.86
7.4.320.0000.00716.51
7.4.300.0000.00616.45
7.4.290.0030.00316.48
7.4.280.0090.00016.46
7.4.270.0030.00316.51
7.4.260.0030.00313.25
7.4.250.0010.00514.94
7.4.240.0030.00314.98
7.4.230.0030.00414.87
7.4.220.0060.00614.92
7.4.210.0040.00815.92
7.4.200.0050.00214.96
7.4.190.0020.00514.87
7.4.180.0050.00013.32
7.4.160.0070.00314.90
7.4.150.0050.00614.86
7.4.140.0100.00615.36
7.4.130.0130.00715.45
7.4.120.0080.00615.36
7.4.110.0050.00814.81
7.4.100.0080.00714.82
7.4.90.0050.00814.96
7.4.80.0080.00414.86
7.4.70.0050.00614.88
7.4.60.0070.00614.96
7.4.50.0000.00714.76
7.4.40.0030.00614.96
7.4.30.0030.00814.86
7.4.20.0050.00013.20
7.4.10.0050.00013.19
7.4.00.0040.00714.21
7.3.330.0030.00313.18
7.3.320.0000.00513.20
7.3.310.0040.00314.66
7.3.300.0050.00214.72
7.3.290.0080.00614.76
7.3.280.0070.00715.28
7.3.270.0060.00514.77
7.3.260.0080.00915.30
7.3.250.0070.00915.37
7.3.240.0080.00414.87
7.3.230.0050.00714.76
7.3.220.0000.00713.17
7.3.210.0060.00614.74
7.3.200.0080.00316.26
7.3.190.0090.00514.77
7.3.180.0080.00314.88
7.3.170.0110.00114.77
7.3.160.0080.00514.89
7.3.150.0000.00713.16
7.3.140.0050.00013.18
7.3.130.0000.00613.02
7.3.120.0030.00713.83
7.3.110.0000.00613.10
7.3.100.0000.00813.06
7.3.90.0070.00013.35
7.3.80.0000.00613.05
7.3.70.0060.00013.19
7.3.60.0000.00613.32
7.3.50.0030.00313.14
7.3.40.0060.00013.16
7.3.30.0030.00313.14
7.3.20.0040.00415.09
7.3.10.0070.00315.62
7.3.00.0050.00315.80
7.2.340.0060.00613.13
7.2.330.0080.00714.82
7.2.320.0140.00514.79
7.2.310.0040.01314.84
7.2.300.0050.01014.83
7.2.290.0080.00614.66
7.2.280.0040.00813.10
7.2.270.0090.00312.95
7.2.260.0100.00313.09
7.2.250.0060.00613.10
7.2.240.0100.00313.05
7.2.230.0100.00313.07
7.2.220.0060.00613.11
7.2.210.0120.00013.04
7.2.200.0050.00913.28
7.2.190.0100.00313.05
7.2.180.0130.00013.20
7.2.170.0100.00313.24
7.2.160.0100.00313.12
7.2.150.0090.00515.16
7.2.140.0090.00315.00
7.2.130.0080.00415.96
7.2.120.0080.00415.85
7.2.110.0070.00515.99
7.2.100.0080.00215.96
7.2.90.0110.00315.86
7.2.80.0070.00516.18
7.2.70.0100.00416.02
7.2.60.0080.00616.23
7.2.50.0110.00015.95
7.2.40.0030.00916.00
7.2.30.0090.00415.75
7.2.20.0080.00415.89
7.2.10.0090.00715.95
7.2.00.0040.00717.09
7.1.330.0100.00214.16
7.1.320.0070.00514.00
7.1.310.0110.00014.00
7.1.300.0140.00314.10
7.1.290.0120.00014.09
7.1.280.0080.00413.99
7.1.270.0040.00814.06
7.1.260.0120.00014.11
7.1.250.0060.00514.93
7.1.240.0000.01113.90
7.1.230.0120.00013.98
7.1.220.0120.00014.14
7.1.210.0120.00014.05
7.1.200.0070.00414.95
7.1.190.0080.00413.93
7.1.180.0110.00014.07
7.1.170.0060.00614.07
7.1.160.0100.00213.92
7.1.150.0120.00013.90
7.1.140.0120.00014.04
7.1.130.0100.00214.08
7.1.120.0120.00014.04
7.1.110.0000.01214.12
7.1.100.0060.00415.85
7.1.90.0130.00013.99
7.1.80.0100.00314.15
7.1.70.0080.00515.50
7.1.60.0130.00616.73
7.1.50.0060.01115.51
7.1.40.0120.00014.06
7.1.30.0060.00614.18
7.1.20.0110.00314.18
7.1.10.0090.00414.05
7.1.00.0050.04118.18
7.0.330.0100.00314.02
7.0.320.0040.00813.88
7.0.310.0100.00213.98
7.0.300.0070.00614.09
7.0.290.0110.00013.88
7.0.280.0130.00013.89
7.0.270.0070.00614.05
7.0.260.0100.00314.05
7.0.250.0100.00214.04
7.0.240.0110.00314.18
7.0.230.0070.00714.20
7.0.220.0120.00014.16
7.0.210.0070.00713.92
7.0.200.0090.00115.29
7.0.190.0040.00914.05
7.0.180.0070.00414.07
7.0.170.0120.00014.15
7.0.160.0120.00014.04
7.0.150.0030.00913.90
7.0.140.0060.04017.96
7.0.130.0090.00314.10
7.0.120.0060.03618.08
7.0.110.0120.00014.00
7.0.100.0120.00014.00
7.0.90.0080.00514.09
7.0.80.0090.00313.94
7.0.70.0060.00614.04
7.0.60.0110.04416.98
7.0.50.0070.02715.92
7.0.40.0060.02617.20
7.0.30.0160.02017.03
7.0.20.0170.04017.03
7.0.10.0080.03517.07
7.0.00.0050.02617.02
5.6.400.0040.00712.66
5.6.390.0090.00412.62
5.6.380.0130.00012.67
5.6.370.0100.00212.55
5.6.360.0000.01212.66
5.6.350.0090.00212.66
5.6.340.0120.00012.56
5.6.330.0080.00412.73
5.6.320.0120.00012.82
5.6.310.0040.00912.81
5.6.300.0000.01312.39
5.6.290.0080.00512.62
5.6.280.0050.04216.72
5.6.270.0100.00312.78
5.6.260.0060.00612.64
5.6.250.0080.00412.37
5.6.240.0070.00712.66
5.6.230.0060.00612.72
5.6.220.0000.01212.73
5.6.210.0100.03816.74
5.6.200.0070.03315.48
5.6.190.0100.04716.47
5.6.180.0170.02216.69
5.6.170.0170.03516.69
5.6.160.0110.01816.70
5.6.150.0070.02115.38
5.6.140.0060.04215.48
5.6.130.0060.04515.45
5.6.120.0110.02816.65
5.6.110.0050.04716.83
5.6.100.0070.03516.84
5.6.90.0090.02216.78
5.6.80.0100.04116.56
5.6.70.0080.00412.62
5.6.60.0090.00312.93
5.6.50.0000.01312.64
5.6.40.0080.00412.81
5.6.30.0090.00412.51
5.6.20.0100.00212.61
5.6.10.0040.00712.75
5.6.00.0040.00812.68
5.5.380.0050.00512.75
5.5.370.0090.00312.77
5.5.360.0110.00012.54
5.5.350.0130.02116.40
5.5.340.0140.03315.16
5.5.330.0120.04016.41
5.5.320.0190.02216.42
5.5.310.0180.04016.30
5.5.300.0090.04015.31
5.5.290.0140.03815.27
5.5.280.0060.04616.71
5.5.270.0110.03416.73
5.5.260.0080.04316.58
5.5.250.0070.04616.72
5.5.240.0090.02616.47
5.5.230.0080.00412.86
5.5.220.0110.00012.56
5.5.210.0100.00012.55
5.5.200.0080.00312.30
5.5.190.0110.00012.48
5.5.180.0110.00012.59
5.5.170.0110.00012.32
5.5.160.0070.00412.48
5.5.150.0080.00312.30
5.5.140.0070.00412.16
5.5.130.0080.00312.41
5.5.120.0070.00512.40
5.5.110.0110.00012.54
5.5.100.0070.00412.44
5.5.90.0050.00512.57
5.5.80.0060.00612.35
5.5.70.0080.00312.38
5.5.60.0110.00012.73
5.5.50.0060.00612.55
5.5.40.0080.00412.74
5.5.30.0030.00712.65
5.5.20.0070.00312.44
5.5.10.0090.00212.64
5.5.00.0110.00012.34
5.4.450.0090.02016.08
5.4.440.0060.02516.04
5.4.430.0050.03016.10
5.4.420.0090.04016.02
5.4.410.0050.03815.99
5.4.400.0070.02215.63
5.4.390.0100.03215.85
5.4.380.0120.03515.76
5.4.370.0070.03915.78
5.4.360.0090.03815.84
5.4.350.0040.04415.95
5.4.340.0090.02715.73
5.4.330.0080.00312.54
5.4.320.0080.02015.81
5.4.310.0130.03615.75
5.4.300.0080.04015.80
5.4.290.0070.04215.74
5.4.280.0060.02115.79
5.4.270.0070.02015.68
5.4.260.0040.03115.74
5.4.250.0090.03915.85
5.4.240.0110.02115.79
5.4.230.0030.03815.51
5.4.220.0050.02515.68
5.4.210.0100.04015.62
5.4.200.0090.03715.75
5.4.190.0060.02015.78
5.4.180.0040.02315.83
5.4.170.0050.02015.78
5.4.160.0050.02215.72
5.4.150.0060.01915.63
5.4.140.0030.02214.38
5.4.130.0020.02314.45
5.4.120.0070.01914.50
5.4.110.0050.01814.55
5.4.100.0070.01714.48
5.4.90.0090.01514.50
5.4.80.0040.02014.64
5.4.70.0050.01814.37
5.4.60.0050.02214.39
5.4.50.0040.02114.39
5.4.40.0100.01714.36
5.4.30.0030.02014.56
5.4.20.0020.02114.49
5.4.10.0040.02214.53
5.4.00.0070.01714.14
5.3.290.0080.03413.82
5.3.280.0080.03013.66
5.3.270.0110.01813.92
5.3.260.0030.02613.76
5.3.250.0040.01913.72
5.3.240.0070.01813.68
5.3.230.0030.02313.76
5.3.220.0030.02313.76
5.3.210.0020.02413.77
5.3.200.0050.01913.72
5.3.190.0020.02413.62
5.3.180.0080.01813.89
5.3.170.0090.01713.96
5.3.160.0040.02013.89
5.3.150.0070.01813.92
5.3.140.0050.02113.86
5.3.130.0060.02013.75
5.3.120.0060.01913.84
5.3.110.0060.02013.81
5.3.100.0030.02513.39
5.3.90.0080.01813.50
5.3.80.0060.02013.52
5.3.70.0040.02213.54
5.3.60.0000.02413.46
5.3.50.0070.01713.39
5.3.40.0030.02213.42
5.3.30.0040.02013.38
5.3.20.0050.02313.19
5.3.10.0040.01913.12
5.3.00.0060.01813.26
5.2.170.0030.01811.43
5.2.160.0020.01711.62
5.2.150.0050.01511.48
5.2.140.0040.01511.42
5.2.130.0020.01911.45
5.2.120.0010.01811.47
5.2.110.0060.01311.49
5.2.100.0070.02811.56
5.2.90.0060.02011.49
5.2.80.0070.01911.54
5.2.70.0030.03611.37
5.2.60.0080.02511.28
5.2.50.0020.03611.50
5.2.40.0060.02911.32
5.2.30.0040.03111.34
5.2.20.0040.02711.24
5.2.10.0040.03211.33
5.2.00.0030.01611.10
5.1.60.0030.03010.42
5.1.50.0060.03010.34
5.1.40.0020.02010.40
5.1.30.0030.03210.68
5.1.20.0050.02810.58
5.1.10.0040.02710.54
5.1.00.0070.02710.47
5.0.50.0040.0249.50
5.0.40.0040.0169.44
5.0.30.0040.0319.34
5.0.20.0030.0209.38
5.0.10.0030.0209.32
5.0.00.0070.0219.28
4.4.90.0040.0139.11
4.4.80.0000.0209.11
4.4.70.0020.0179.11
4.4.60.0030.0129.11
4.4.50.0000.0209.11
4.4.40.0030.0229.11
4.4.30.0020.0109.11
4.4.20.0040.0189.11
4.4.10.0020.0189.11
4.4.00.0020.0239.11
4.3.110.0080.0089.11
4.3.100.0030.0179.11
4.3.90.0020.0189.11
4.3.80.0020.0279.11
4.3.70.0020.0189.11
4.3.60.0040.0179.11
4.3.50.0040.0139.11
4.3.40.0040.0209.11
4.3.30.0010.0189.11
4.3.20.0010.0189.11
4.3.10.0050.0179.11
4.3.00.0020.0159.11

preferences:
56.19 ms | 401 KiB | 5 Q