3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lende=3; $studente=3; $lendet[1]='Matematike'; $lendet[2]='Fizike'; $lendet[3]='Letersi'; $studentet[1]='Endri'; $studentet[2]='Kico'; $studentet[3]='paskali'; $notat[1][1]='6'; $notat[1][2]='7'; $notat[1][3]='8'; $notat[2][1]='4'; $notat[2][2]='5'; $notat[2][3]='6'; $notat[3][1]='8'; $notat[3][2]='9'; $notat[3][3]='10'; echo '<table border=1> <tr> <td>---</td>'; for($j=1;$j<=$studentet;$j++) { echo '<th>'.$studentet[$j].'</th>'; } echo '</tr>'; for($i=1;$i<=$lendet;$i++) { echo '<tr>'; echo '<th>'.$lendet[$i].'</th>'; for($j=1;$j<=studentet;$j++) { echo '<td align="center">'.$notat[$i][$j].'</td>'; } } echo'</table>'; ?>

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.0190.00625.92
8.3.50.0130.00325.92
8.3.40.0060.00925.92
8.2.180.0150.00425.92
8.2.170.0150.00325.92
8.1.280.0100.01725.92
7.4.10.0090.01215.05
7.4.00.0100.00614.94
7.3.130.0070.01414.81
7.3.120.0070.01514.93
7.3.110.0100.01314.93
7.3.100.0070.01114.95
7.3.90.0060.01314.80
7.3.80.0040.01214.59
7.3.70.0090.01114.96
7.3.60.0090.00614.83
7.3.50.0000.02014.69
7.3.40.0100.01014.93
7.3.30.0000.01514.50
7.3.20.0160.00616.73
7.3.10.0120.00316.61
7.3.00.0080.01516.66
7.2.260.0130.00715.04
7.2.250.0100.01015.05
7.2.240.0060.01315.00
7.2.230.0060.01015.04
7.2.220.0120.00314.86
7.2.210.0110.00515.03
7.2.200.0110.00314.81
7.2.190.0080.01114.88
7.2.180.0030.00715.11
7.2.170.0110.00414.99
7.2.160.0130.00315.14
7.2.150.0160.00316.86
7.2.140.0150.00016.87
7.2.130.0120.00617.02
7.2.120.0030.01316.69
7.2.110.0080.00816.97
7.2.100.0080.01216.89
7.2.90.0110.00716.83
7.2.80.0000.01816.57
7.2.70.0060.00917.09
7.2.60.0030.00916.93
7.2.50.0030.00616.95
7.2.40.0080.00616.84
7.2.30.0030.00717.05
7.2.20.0070.01316.66
7.2.10.0000.01216.53
7.2.00.0040.01416.98
7.1.330.0080.01215.57
7.1.320.0100.00315.65
7.1.310.0070.00715.94
7.1.300.0070.01316.02
7.1.290.0070.01015.77
7.1.280.0030.01015.73
7.1.270.0090.00915.44
7.1.260.0040.00815.77
7.1.250.0000.01615.75
7.1.240.0040.00815.70
7.1.230.0040.01215.88
7.1.220.0040.00715.92
7.1.210.0070.00715.75
7.1.200.0080.00015.70
7.1.190.0080.01215.73
7.1.180.0030.01015.38
7.1.170.0100.00315.92
7.1.160.0090.00915.68
7.1.150.0040.01115.46
7.1.140.0080.00315.98
7.1.130.0030.01215.66
7.1.120.0110.00415.80
7.1.110.0120.00815.89
7.1.100.0060.01215.82
7.1.90.0070.01115.56
7.1.80.0070.00715.70
7.1.70.0070.00715.71
7.1.60.0150.00615.76
7.1.50.0070.01015.46
7.1.40.0160.00315.87
7.1.30.0080.00815.84
7.1.20.0080.00615.81
7.1.10.0060.01015.77
7.1.00.0040.01615.60
7.0.330.0030.01015.55
7.0.320.0040.01215.45
7.0.310.0060.00315.59
7.0.300.0080.00915.66
7.0.290.0070.01015.25
7.0.280.0120.00615.25
7.0.270.0060.00915.60
7.0.260.0000.01415.16
7.0.250.0030.01615.30
7.0.240.0060.00615.21
7.0.230.0150.00015.33
7.0.220.0120.00315.51
7.0.210.0140.00315.64
7.0.200.0040.01415.56
7.0.190.0030.01615.52
7.0.180.0070.01115.21
7.0.170.0060.01215.59
7.0.160.0040.01115.53
7.0.150.0000.01415.46
7.0.140.0190.00015.44
7.0.130.0060.00615.45
7.0.120.0060.01015.61
7.0.110.0060.00615.50
7.0.100.0040.01915.22
7.0.90.0090.00315.58
7.0.80.0080.00415.60
7.0.70.0090.01215.58
7.0.60.0100.01315.52
7.0.50.0040.01115.57
7.0.40.0030.00713.62
7.0.30.0060.00913.30
7.0.20.0000.01713.55
7.0.10.0090.00413.48
7.0.00.0030.01313.56
5.6.400.0070.01014.42
5.6.390.0030.01514.45
5.6.380.0110.00714.75
5.6.370.0040.01414.49
5.6.360.0100.01014.30
5.6.350.0000.01114.59
5.6.340.0060.01214.52
5.6.330.0080.01114.77
5.6.320.0040.01314.77
5.6.310.0090.01014.16
5.6.300.0060.00914.63
5.6.290.0100.00314.55
5.6.280.0030.01614.50
5.6.270.0130.00914.55
5.6.260.0140.01014.72
5.6.250.0070.00314.40
5.6.240.0070.01114.72
5.6.230.0070.01014.56
5.6.220.0130.00514.63
5.6.210.0130.00314.40
5.6.200.0040.01614.30
5.6.190.0080.00814.47
5.6.180.0090.00914.34
5.6.170.0140.00014.68
5.6.160.0100.01014.38
5.6.150.0120.00614.50
5.6.140.0040.01314.41
5.6.130.0000.01214.54
5.6.120.0060.00914.56
5.6.110.0000.01914.58
5.6.100.0070.01114.35
5.6.90.0080.00414.53
5.6.80.0070.00714.27
5.6.70.0030.01314.25
5.6.60.0100.01014.67
5.6.50.0100.00714.48
5.6.40.0110.01414.36
5.6.30.0090.00314.44
5.6.20.0040.00814.17
5.6.10.0100.00714.29
5.6.00.0100.01014.36
5.5.380.0030.01414.62
5.5.370.0080.00814.25
5.5.360.0060.01314.16
5.5.350.0100.00714.79
5.5.340.0090.00614.51
5.5.330.0060.00614.54
5.5.320.0060.00614.59
5.5.310.0030.01014.52
5.5.300.0120.00414.39
5.5.290.0100.00714.29
5.5.280.0100.01014.51
5.5.270.0110.01114.74
5.5.260.0030.01314.25
5.5.250.0080.00614.43
5.5.240.0000.01414.54
5.5.230.0110.01114.44
5.5.220.0060.01014.59
5.5.210.0170.00314.38
5.5.200.0070.01014.50
5.5.190.0130.01014.51
5.5.180.0030.01614.73
5.5.170.0070.01114.35
5.5.160.0030.01014.41
5.5.150.0100.00314.41
5.5.140.0110.00714.17
5.5.130.0040.00814.21
5.5.120.0100.01014.30
5.5.110.0030.01214.38
5.5.100.0070.01414.20
5.5.90.0100.00314.19
5.5.80.0110.00414.54
5.5.70.0110.01114.58
5.5.60.0060.01214.18
5.5.50.0030.01614.56
5.5.40.0070.01014.12
5.5.30.0100.01014.05
5.5.20.0070.01014.49
5.5.10.0070.02114.25
5.5.00.0040.01514.44
5.4.450.0160.00412.11
5.4.440.0040.01512.11
5.4.430.0060.00312.11
5.4.420.0070.01012.11
5.4.410.0160.00012.11
5.4.400.0070.01112.11
5.4.390.0110.00412.11
5.4.380.0040.00812.11
5.4.370.0040.01112.11
5.4.360.0040.00812.11
5.4.350.0170.00312.11
5.4.340.0140.00012.11
5.4.330.0140.00712.11
5.4.320.0060.01012.11
5.4.310.0120.00412.11
5.4.300.0040.00712.11
5.4.290.0150.00012.11
5.4.280.0000.00912.11
5.4.270.0090.01212.11
5.4.260.0110.00412.11
5.4.250.0110.00812.11
5.4.240.0090.00312.11
5.4.230.0150.03315.54
5.4.220.0220.03715.46
5.4.210.0200.03215.63
5.4.200.0140.04515.55
5.4.190.0180.03815.58
5.4.180.0190.03315.55
5.4.170.0180.03915.42
5.4.160.0160.04015.44
5.4.150.0150.03115.56
5.4.140.0190.03014.13
5.4.130.0130.02314.19
5.4.120.0150.02314.18
5.4.110.0230.03714.25
5.4.100.0200.03714.08
5.4.90.0170.02514.20
5.4.80.0170.03314.19
5.4.70.0150.03814.21
5.4.60.0120.02514.28
5.4.50.0070.02814.18
5.4.40.0070.03714.26
5.4.30.0050.03114.22
5.4.20.0100.03014.22
5.4.10.0150.04514.20
5.4.00.0200.02813.94
5.3.290.0080.00512.11
5.3.280.0190.03013.43
5.3.270.0130.03913.43
5.3.260.0150.03113.43
5.3.250.0210.03913.43
5.3.240.0170.02413.43
5.3.230.0160.03313.43
5.3.220.0230.02313.43
5.3.210.0080.03113.16
5.3.200.0200.03413.43
5.3.190.0170.03713.43
5.3.180.0190.02913.43
5.3.170.0160.03813.43
5.3.160.0160.03213.43
5.3.150.0120.02613.43
5.3.140.0190.03813.43
5.3.130.0180.04013.43
5.3.120.0130.04113.43
5.3.110.0140.03813.43
5.3.100.0200.02713.43
5.3.90.0140.02813.43
5.3.80.0140.02713.43
5.3.70.0120.02513.43
5.3.60.0140.03813.43
5.3.50.0270.03313.43
5.3.40.0080.03312.84
5.3.30.0170.03513.43
5.3.20.0180.02813.43
5.3.10.0170.02713.43
5.3.00.0180.03313.43

preferences:
37.24 ms | 401 KiB | 5 Q