3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>prob&aacute;k, felv&eacute;telek</title> </head> <body> <br/> <?php $mbsize = 0; $minutes = 0; $wholeMinutes = 0; $restOfMinutes = 0; $filepath = '*.mp3'; $picarray = glob($filepath); for ($i=0; $i<count($picarray); $i++): $mbsize = round(filesize($picarray[$i])/1024/1024,1); $minutes = round($mbsize/.686); if ($minutes > 60): $wholeMinutes = floor($minutes/60); $restOfMinutes = $minutes - ($wholeMinutes * 60); $showMinutes = $wholeMinutes.' &oacute;ra '.$restOfMinutes; else: $showMinutes = $minutes; endif; ?> <a href="<?php echo $picarray[$i]; ?>" target="_blank"><?php echo $picarray[$i]; ?> (<?php echo $mbsize; ?> MB - kb. <?php echo $showMinutes; ?> perc)</a> <?php if ($i < count($picarray)-1) echo '<br/><br/>'; ?> <?php endfor; ?> </body> </html>

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.70.0040.01116.62
8.3.60.0120.00618.43
8.3.50.0110.01022.11
8.3.40.0110.00418.75
8.3.30.0040.01119.06
8.3.20.0030.00620.34
8.3.10.0040.00422.13
8.3.00.0050.00322.63
8.2.190.0160.00016.63
8.2.180.0180.00016.50
8.2.170.0180.00322.96
8.2.160.0070.00721.05
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00419.36
8.2.110.0060.00322.25
8.2.100.0070.00417.59
8.2.90.0000.00919.34
8.2.80.0080.00017.97
8.2.70.0030.00617.75
8.2.60.0080.00018.05
8.2.50.0040.00418.07
8.2.40.0000.00818.28
8.2.30.0040.00418.09
8.2.20.0040.00417.86
8.2.10.0040.00417.94
8.2.00.0070.00017.78
8.1.280.0100.01025.92
8.1.270.0040.00422.21
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0070.00323.91
8.1.230.0110.00319.18
8.1.220.0080.00017.78
8.1.210.0030.00618.77
8.1.200.0070.00317.47
8.1.190.0040.00417.78
8.1.180.0040.00418.10
8.1.170.0090.00318.58
8.1.160.0040.00422.08
8.1.150.0040.00418.79
8.1.140.0080.00017.62
8.1.130.0030.00317.99
8.1.120.0080.00017.47
8.1.110.0040.00417.46
8.1.100.0000.00717.45
8.1.90.0040.00417.48
8.1.80.0030.00417.44
8.1.70.0000.00717.55
8.1.60.0000.00817.69
8.1.50.0070.00017.69
8.1.40.0040.00417.50
8.1.30.0080.00017.80
8.1.20.0080.00017.76
8.1.10.0060.00317.58
8.1.00.0080.00017.52
8.0.300.0040.00418.77
8.0.290.0000.00817.17
8.0.280.0030.00318.60
8.0.270.0000.00717.36
8.0.260.0040.00417.03
8.0.250.0030.00317.11
8.0.240.0000.00716.98
8.0.230.0000.00716.94
8.0.220.0000.00716.95
8.0.210.0040.00416.96
8.0.200.0000.00617.02
8.0.190.0040.00417.10
8.0.180.0040.00317.02
8.0.170.0040.00416.92
8.0.160.0040.00417.12
8.0.150.0040.00417.05
8.0.140.0000.00816.94
8.0.130.0000.00513.40
8.0.120.0040.00714.61
8.0.110.0070.00514.64
8.0.100.0070.00514.67
8.0.90.0090.00214.59
8.0.80.0090.00514.59
8.0.70.0090.00314.60
8.0.60.0090.00214.56
8.0.50.0080.00414.65
8.0.30.0090.00815.25
8.0.20.0100.00715.47
8.0.10.0040.00714.74
8.0.00.0100.00415.21
7.4.330.0000.00515.27
7.4.320.0000.00816.68
7.4.300.0030.00316.77
7.4.290.0030.00316.68
7.4.280.0070.00016.60
7.4.270.0040.00416.69
7.4.260.0040.00316.58
7.4.250.0060.00414.44
7.4.240.0060.00514.99
7.4.230.0070.00514.47
7.4.220.0110.00514.44
7.4.210.0090.00515.37
7.4.200.0050.00614.39
7.4.190.0060.00614.46
7.4.180.0090.00513.34
7.4.160.0130.00414.47
7.4.150.0110.00714.69
7.4.140.0140.00215.56
7.4.130.0090.00715.01
7.4.120.0100.00614.92
7.4.110.0090.00614.42
7.4.100.0070.00914.49
7.4.90.0100.00714.38
7.4.80.0050.01315.34
7.4.70.0090.00514.40
7.4.60.0120.00214.42
7.4.50.0060.00614.40
7.4.40.0110.00316.40
7.4.30.0080.00814.44
7.4.20.0100.00413.26
7.4.10.0090.00413.24
7.4.00.0080.00713.94
7.3.330.0030.00313.08
7.3.320.0000.00513.15
7.3.310.0060.00614.29
7.3.300.0100.00214.29
7.3.290.0100.00514.25
7.3.280.0110.00515.23
7.3.270.0080.01014.49
7.3.260.0120.00314.27
7.3.250.0130.00514.92
7.3.240.0120.00414.21
7.3.230.0110.00414.21
7.3.220.0110.00313.06
7.3.210.0120.00514.25
7.3.200.0090.00615.20
7.3.190.0080.00614.25
7.3.180.0070.00614.22
7.3.170.0130.00114.23
7.3.160.0070.00914.19
7.3.150.0070.00313.02
7.3.140.0070.00413.06
7.3.130.0090.00313.16
7.3.120.0080.00513.76
7.3.110.0080.00312.83
7.3.100.0050.00612.95
7.3.90.0060.00613.28
7.3.80.0060.00413.02
7.3.70.0050.00613.20
7.3.60.0080.00313.20
7.3.50.0090.00213.29
7.3.40.0080.00313.37
7.3.30.0070.00513.32
7.3.20.0070.00515.02
7.3.10.0060.00514.99
7.3.00.0060.00614.91
7.2.340.0050.00613.22
7.2.330.0100.00614.35
7.2.320.0120.00414.35
7.2.310.0110.00714.34
7.2.300.0090.00614.60
7.2.290.0110.00514.46
7.2.280.0080.00613.29
7.2.270.0120.00313.23
7.2.260.0090.00513.19
7.2.250.0110.00313.34
7.2.240.0100.00413.38
7.2.230.0090.00413.24
7.2.220.0120.00213.29
7.2.210.0080.00613.35
7.2.200.0090.00613.29
7.2.190.0090.00513.36
7.2.180.0120.00213.37
7.2.170.0100.00413.49
7.2.160.0080.00613.49
7.2.150.0150.00015.11
7.2.140.0100.00415.12
7.2.130.0100.00515.27
7.2.120.0090.00515.43
7.2.110.0100.00515.33
7.2.100.0090.00515.28
7.2.90.0130.00315.24
7.2.80.0140.00015.21
7.2.70.0120.00415.17
7.2.60.0090.00415.25
7.2.50.0060.00915.20
7.2.40.0090.00515.26
7.2.30.0110.00415.25
7.2.20.0070.00715.29
7.2.10.0080.00815.24
7.2.00.0100.00416.75
7.1.330.0110.00214.27
7.1.320.0110.00314.27
7.1.310.0130.00114.29
7.1.300.0090.00414.17
7.1.290.0130.00214.28
7.1.280.0090.00514.20
7.1.270.0090.00514.24
7.1.260.0090.00414.31
7.1.250.0110.00214.25
7.1.240.0040.00914.21
7.1.230.0110.00214.23
7.1.220.0120.00214.24
7.1.210.0120.00114.32
7.1.200.0070.00614.30
7.1.190.0100.00414.27
7.1.180.0100.00214.23
7.1.170.0110.00214.11
7.1.160.0110.00314.19
7.1.150.0110.00314.14
7.1.140.0120.00214.16
7.1.130.0130.00014.20
7.1.120.0090.00514.25
7.1.110.0110.00214.21
7.1.100.0080.00415.55
7.1.90.0100.00314.14
7.1.80.0140.00014.23
7.1.70.0050.00614.96
7.1.60.0100.00616.10
7.1.50.0130.00520.93
7.1.40.0070.00714.25
7.1.30.0110.00314.15
7.1.20.0100.00414.17
7.1.10.0070.00714.15
7.1.00.0100.02616.97
7.0.330.0090.00413.99
7.0.320.0110.00213.96
7.0.310.0100.00414.12
7.0.300.0100.00314.03
7.0.290.0120.00114.04
7.0.280.0120.00213.99
7.0.270.0120.00113.97
7.0.260.0140.00014.04
7.0.250.0090.00414.25
7.0.240.0070.00614.31
7.0.230.0070.00614.17
7.0.220.0110.00214.11
7.0.210.0120.00214.19
7.0.200.0080.00315.02
7.0.190.0100.00414.12
7.0.180.0100.00414.03
7.0.170.0080.00414.23
7.0.160.0120.00114.01
7.0.150.0080.00514.06
7.0.140.0090.02716.68
7.0.130.0110.00214.14
7.0.120.0130.00014.03
7.0.110.0100.00514.01
7.0.100.0080.00514.14
7.0.90.0100.00313.99
7.0.80.0110.00214.00
7.0.70.0110.00313.99
7.0.60.0070.02916.02
7.0.50.0080.01615.35
7.0.40.0130.01316.13
7.0.30.0160.01516.10
7.0.20.0140.01816.07
7.0.10.0070.01816.14
7.0.00.0090.03216.17
5.6.400.0100.00312.67
5.6.390.0080.00512.67
5.6.380.0100.00312.64
5.6.370.0030.01112.48
5.6.360.0080.00512.65
5.6.350.0100.00212.63
5.6.340.0090.00412.67
5.6.330.0090.00412.58
5.6.320.0070.00612.74
5.6.310.0090.00512.52
5.6.300.0080.00512.48
5.6.290.0090.00412.56
5.6.280.0090.02515.43
5.6.270.0110.00212.59
5.6.260.0080.00412.72
5.6.250.0080.00412.58
5.6.240.0080.00512.65
5.6.230.0080.00512.80
5.6.220.0110.00212.82
5.6.210.0090.01815.33
5.6.200.0090.02814.54
5.6.190.0110.03015.36
5.6.180.0220.02615.30
5.6.170.0140.01515.34
5.6.160.0100.02715.40
5.6.150.0090.03014.64
5.6.140.0100.02714.58
5.6.130.0070.03314.56
5.6.120.0090.03015.54
5.6.110.0100.01615.47
5.6.100.0130.02415.41
5.6.90.0090.02315.36
5.6.80.0100.02515.18
5.6.70.0110.00212.70
5.6.60.0110.00212.71
5.6.50.0100.00312.47
5.6.40.0080.00412.66
5.6.30.0110.00212.61
5.6.20.0120.00012.67
5.6.10.0080.00412.55
5.6.00.0110.00212.49
5.5.380.0110.00212.70
5.5.370.0090.00312.78
5.5.360.0090.00312.73
5.5.350.0060.01415.14
5.5.340.0090.03014.38
5.5.330.0080.01615.19
5.5.320.0090.02815.20
5.5.310.0140.02415.12
5.5.300.0090.02614.42
5.5.290.0100.02014.27
5.5.280.0090.01715.25
5.5.270.0130.02215.27
5.5.260.0030.02015.26
5.5.250.0110.01315.40
5.5.240.0070.01315.22
5.5.230.0080.00412.60
5.5.220.0060.00712.58
5.5.210.0110.00212.73
5.5.200.0090.00412.61
5.5.190.0100.00312.36
5.5.180.0070.00612.64
5.5.170.0100.00312.57
5.5.160.0110.00112.44
5.5.150.0110.00012.27
5.5.140.0060.00512.45
5.5.130.0120.00112.38
5.5.120.0100.00112.35
5.5.110.0080.00412.32
5.5.100.0040.00812.67
5.5.90.0060.00512.67
5.5.80.0070.00512.53
5.5.70.0110.00212.47
5.5.60.0120.00212.41
5.5.50.0120.00012.54
5.5.40.0070.00512.54
5.5.30.0070.00512.54
5.5.20.0060.00512.64
5.5.10.0110.00212.48
5.5.00.0090.00312.54
5.4.450.1170.01914.76
5.4.440.0930.01714.90
5.4.430.1030.01314.85
5.4.420.0950.01814.86
5.4.410.0970.01414.90
5.4.400.0970.01614.78
5.4.390.0940.01314.77
5.4.380.0550.01814.76
5.4.370.0770.01414.65
5.4.360.0890.01314.62
5.4.350.0940.01114.65
5.4.340.0890.01614.76
5.4.330.0090.00112.48
5.4.320.1080.01914.84
5.4.310.0980.01514.79
5.4.300.1170.02014.70
5.4.290.1030.01414.73
5.4.280.1060.01414.60
5.4.270.0940.01314.79
5.4.260.0930.01714.71
5.4.250.1050.01914.71
5.4.240.0940.01614.59
5.4.230.0960.01714.51
5.4.220.1020.01414.56
5.4.210.1080.01814.61
5.4.200.1130.01614.49
5.4.190.1160.01214.69
5.4.180.1020.01714.66
5.4.170.1120.01614.55
5.4.160.1150.01114.64
5.4.150.1020.01514.63
5.4.140.1130.01513.88
5.4.130.0920.01413.78
5.4.120.1160.02013.84
5.4.110.0960.01713.73
5.4.100.1100.01213.82
5.4.90.1060.01613.81
5.4.80.1110.01113.94
5.4.70.1150.01313.89
5.4.60.0990.01413.84
5.4.50.1140.01113.82
5.4.40.1050.01513.91
5.4.30.0620.01413.90
5.4.20.0130.02013.74
5.4.10.0070.01613.84
5.4.00.0070.01913.57
5.3.290.0100.01213.64
5.3.280.0120.01713.50
5.3.270.0110.01413.53
5.3.260.0110.01613.63
5.3.250.0140.01513.61
5.3.240.0120.01413.35
5.3.230.0130.01713.52
5.3.220.0140.01513.45
5.3.210.0120.01513.33
5.3.200.0090.01713.32
5.3.190.0150.01913.50
5.3.180.0090.01513.63
5.3.170.0160.01213.60
5.3.160.0130.02013.40
5.3.150.0120.01813.46
5.3.140.0160.01513.51
5.3.130.0110.02113.37
5.3.120.0130.02113.55
5.3.110.0130.02913.55
5.3.100.0090.01813.20
5.3.90.0140.02013.20
5.3.80.0150.02513.25
5.3.70.0110.02413.11
5.3.60.0150.02513.27
5.3.50.0130.01613.17
5.3.40.0140.02013.14
5.3.30.0110.02413.28
5.3.20.0160.02213.25
5.3.10.0140.01212.89
5.3.00.0160.02113.09
5.2.170.0110.01211.76
5.2.160.0130.01011.81
5.2.150.0090.01511.85
5.2.140.0080.02011.77
5.2.130.0120.01011.69
5.2.120.0110.01211.73
5.2.110.0100.01311.82
5.2.100.0070.02011.88
5.2.90.0110.02211.74
5.2.80.0090.01411.70
5.2.70.0130.01311.62
5.2.60.0100.01311.67
5.2.50.0130.01111.72
5.2.40.0100.01311.83
5.2.30.0040.01811.72
5.2.20.0080.02211.63
5.2.10.0070.02411.52
5.2.00.0090.02211.51
5.1.60.0090.01811.15
5.1.50.0080.01511.12
5.1.40.0080.01211.22
5.1.30.0090.01211.21
5.1.20.0110.01011.27
5.1.10.0080.01011.14
5.1.00.0060.01410.94
5.0.50.0040.01110.69
5.0.40.0040.01210.69
5.0.30.0060.02210.69
5.0.20.0050.01610.69
5.0.10.0050.01210.69
5.0.00.0110.01510.69
4.4.90.0060.01310.69
4.4.80.0060.00810.69
4.4.70.0040.01210.69
4.4.60.0050.00710.69
4.4.50.0060.00810.69
4.4.40.0040.01310.69
4.4.30.0030.01310.69
4.4.20.0040.01310.69
4.4.10.0020.01610.69
4.4.00.0020.01610.69
4.3.110.0040.01110.69
4.3.100.0050.01610.69
4.3.90.0080.00610.69
4.3.80.0070.01910.69
4.3.70.0040.01210.69
4.3.60.0060.00710.69
4.3.50.0050.00810.69
4.3.40.0060.01010.69
4.3.30.0030.01210.69
4.3.20.0030.01310.69
4.3.10.0040.01110.69
4.3.00.0040.00810.69

preferences:
59.81 ms | 401 KiB | 5 Q