3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('GLPI_ROOT', '../../..'); include (GLPI_ROOT.'/inc/includes.php'); include_once('../inc/portswitch.class.php'); // Status aktualisieren if (isset($_SESSION['port_changed'])) { $changed = $_SESSION['port_changed']; unset($_SESSION['port_changed']); if(PluginPortswitchPortswitch::$config_data[$changed]['link'] != '0.0.0.0') { PluginPortswitchPortswitch::$config_data[$changed]['link'] = exec('../scripts/checkport.sh '.PluginPortswitchPortswitch::$config_data[$changed]['ip'].' '.PluginPortswitchPortswitch::$config_data[$changed]['port'].' '.PluginPortswitchPortswitch::$config_data[$changed]['passwort'].' '.PluginPortswitchPortswitch::$config_data[$changed]['stack'].' '.PluginPortswitchPortswitch::$config_data[$changed]['hostname']); } else { PluginPortswitchPortswitch::$config_data[$changed]['link'] = 'Konnte nicht abgefragt werden. (Konfiguration prüfen!)'; } PluginPortswitchPortswitch::saveConfig(); } for($i = 0; $i < sizeof(PluginPortswitchPortswitch::$config_data); $i++) { ?> <h1><?php echo PluginPortswitchPortswitch::$config_data[$i]['name']; ?> auf Switch <?php echo PluginPortswitchPortswitch::$config_data[$i]['hostname']; ?>:<?php echo PluginPortswitchPortswitch::$config_data[$i]['port']; ?> Kontrolle</h1> <form method="POST" action="<?php echo GLPI_ROOT; ?>/plugins/portswitch/front/portswitch.form.php"> <p> Ticketnummern (mit Komma trennen, z.B. <i>"1024,2048,..."</i>: <input type="text" name="kommentar" value="<?php echo PluginPortswitchPortswitch::$config_data[$i]['kommentar']; ?>"><br> <input type="submit" name="Aktualisieren" value="Aktualisieren"> </p> <p> <input type="hidden" name="sent" value="<?php echo $i; ?>"> <input type="submit" name="deactivate" value="Deaktivieren"> <input type="submit" name="activate" value="Aktivieren"> </p> <p>&nbsp;</p> <p> <?php switch(PluginPortswitchPortswitch::$config_data[$i]['link']) { case 'Down': $color = '#FF0000'; break; case 'Up': $color = '#00FF00'; break; default: $color = '#0000FF'; } ?> Port Link-Status: <span style="color:<?php echo $color; ?>"><?php echo PluginPortswitchPortswitch::$config_data[$i]['link']; ?></span><br> Port Status: <?php echo PluginPortswitchPortswitch::getHtmlStatus($i); ?><br><br> <input type="submit" name="link" value="Update Link Status"> </p> <?php Html::closeForm(); } ?>

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.0160.00016.75
8.3.50.0100.00721.97
8.3.40.0150.00018.84
8.3.30.0060.01319.27
8.3.20.0040.01120.37
8.3.10.0040.00423.39
8.3.00.0090.00619.16
8.2.180.0040.01118.43
8.2.170.0150.00622.96
8.2.160.0100.01020.64
8.2.150.0080.00024.18
8.2.140.0070.01124.66
8.2.130.0050.00326.16
8.2.120.0080.00020.73
8.2.110.0000.01022.26
8.2.100.0060.00617.84
8.2.90.0000.00918.03
8.2.80.0030.00517.97
8.2.70.0030.00517.75
8.2.60.0000.00817.88
8.2.50.0030.00618.07
8.2.40.0000.00919.95
8.2.30.0070.00018.46
8.2.20.0090.00017.89
8.2.10.0040.00418.18
8.2.00.0000.00717.90
8.1.280.0060.00925.92
8.1.270.0090.00623.87
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0070.00322.61
8.1.230.0080.00421.09
8.1.220.0040.00417.91
8.1.210.0090.00019.15
8.1.200.0000.01217.48
8.1.190.0050.00317.47
8.1.180.0060.00318.10
8.1.170.0030.00518.74
8.1.160.0000.00722.16
8.1.150.0050.00218.73
8.1.140.0050.00217.54
8.1.130.0030.00317.81
8.1.120.0050.00217.46
8.1.110.0040.00417.43
8.1.100.0040.00417.43
8.1.90.0050.00317.41
8.1.80.0040.00417.53
8.1.70.0070.00017.52
8.1.60.0040.00417.59
8.1.50.0000.00817.65
8.1.40.0000.00817.70
8.1.30.0030.00917.64
8.1.20.0000.00817.78
8.1.10.0000.00817.77
8.1.00.0000.00817.66
8.0.300.0040.00419.87
8.0.290.0000.00717.30
8.0.280.0000.00718.58
8.0.270.0040.00417.34
8.0.260.0030.00317.31
8.0.250.0000.00717.08
8.0.240.0040.00417.17
8.0.230.0000.00717.16
8.0.220.0070.00017.11
8.0.210.0000.00717.12
8.0.200.0030.00317.05
8.0.190.0040.00417.09
8.0.180.0040.00417.18
8.0.170.0040.00417.15
8.0.160.0040.00416.98
8.0.150.0000.00717.03
8.0.140.0070.00016.95
8.0.130.0030.00313.45
8.0.120.0090.00017.02
8.0.110.0000.00717.11
8.0.100.0030.00517.05
8.0.90.0000.00716.96
8.0.80.0060.01017.13
8.0.70.0070.00016.89
8.0.60.0050.00217.16
8.0.50.0040.00417.03
8.0.30.0090.01917.17
8.0.20.0050.01517.42
8.0.10.0070.00017.09
8.0.00.0060.01316.97
7.4.330.0030.00315.00
7.4.320.0040.00416.61
7.4.300.0030.00616.59
7.4.290.0030.00316.68
7.4.280.0000.00716.59
7.4.270.0000.00716.59
7.4.260.0000.00716.64
7.4.250.0000.00816.61
7.4.240.0060.00416.71
7.4.230.0030.00316.59
7.4.220.0120.00616.56
7.4.210.0100.00616.66
7.4.200.0070.00016.80
7.4.190.0040.00416.46
7.4.160.0140.00416.58
7.4.150.0080.00817.40
7.4.140.0130.00517.86
7.4.130.0130.00516.57
7.4.120.0140.00316.72
7.4.110.0150.00416.56
7.4.100.0110.00716.67
7.4.90.0090.00916.54
7.4.80.0120.01219.39
7.4.70.0030.01416.82
7.4.60.0120.00616.63
7.4.50.0000.00516.67
7.4.40.0090.01316.68
7.4.30.0080.00716.51
7.4.00.0030.01315.07
7.3.330.0070.00013.21
7.3.320.0060.00013.31
7.3.310.0030.00516.61
7.3.300.0030.00316.50
7.3.290.0030.01116.47
7.3.280.0050.01316.49
7.3.270.0110.00617.40
7.3.260.0120.00616.44
7.3.250.0050.01316.51
7.3.240.0150.00716.61
7.3.230.0050.01416.53
7.3.210.0130.01416.75
7.3.200.0070.01019.39
7.3.190.0160.00616.54
7.3.180.0120.00416.48
7.3.170.0170.00316.43
7.3.160.0080.00816.47
7.3.120.0070.01015.07
7.3.00.0070.00716.70
7.2.330.0140.00316.88
7.2.320.0030.01516.55
7.2.310.0160.01116.78
7.2.300.0130.00316.75
7.2.290.0100.01016.55
7.2.130.0030.01317.06
7.2.120.0140.00716.88
7.2.110.0070.00316.97
7.2.100.0030.01216.78
7.2.90.0060.00916.96
7.2.80.0060.00317.00
7.2.70.0060.01216.99
7.2.60.0060.01017.00
7.2.50.0070.00717.16
7.2.40.0090.00617.11
7.2.30.0030.00716.89
7.2.20.0080.00316.70
7.2.10.0100.01016.98
7.2.00.0080.00518.07
7.1.250.0110.00815.79
7.1.240.0030.01015.75
7.1.230.0090.00915.74
7.1.220.0040.01215.77
7.1.210.0070.00715.89
7.1.200.0050.00515.77
7.1.190.0060.00315.81
7.1.180.0040.00715.80
7.1.170.0070.01015.89
7.1.160.0060.00315.70
7.1.150.0060.01015.72
7.1.140.0040.01115.91
7.1.130.0000.01015.84
7.1.120.0070.00315.80
7.1.110.0040.00715.80
7.1.100.0030.01017.06
7.1.90.0070.00715.57
7.1.80.0130.00315.76
7.1.70.0050.00516.31
7.1.60.0070.01117.56
7.1.50.0040.00816.27
7.1.40.0040.00715.83
7.1.30.0040.00715.74
7.1.20.0110.00415.85
7.1.10.0000.01415.59
7.1.00.0000.04418.93
7.0.330.0030.00615.57
7.0.320.0000.01315.38
7.0.310.0040.01115.23
7.0.300.0060.00615.34
7.0.290.0100.00715.08
7.0.280.0100.00715.37
7.0.270.0030.01015.34
7.0.260.0030.00615.29
7.0.250.0000.01315.46
7.0.240.0070.00715.50
7.0.230.0070.00714.90
7.0.220.0040.01115.44
7.0.210.0110.00415.28
7.0.200.0020.01015.82
7.0.190.0030.01015.30
7.0.180.0030.00715.30
7.0.170.0030.00715.20
7.0.160.0000.01015.48
7.0.150.0040.01115.50
7.0.140.0040.04118.64
7.0.130.0040.00415.44
7.0.120.0000.01015.59
7.0.110.0080.00415.44
7.0.100.0060.00615.27
7.0.90.0030.00615.09
7.0.80.0000.01315.35
7.0.70.0030.00515.46
7.0.60.0070.04317.70
7.0.50.0080.04216.74
7.0.40.0080.03316.80
7.0.30.0130.02616.69
7.0.20.0150.03216.82
7.0.10.0170.04216.80
7.0.00.0030.03016.85
5.6.380.0090.00314.20
5.6.370.0040.00714.27
5.6.360.0090.00614.39
5.6.350.0070.00714.30
5.6.340.0090.00914.36
5.6.330.0070.00714.50
5.6.320.0030.00614.41
5.6.310.0040.00814.47
5.6.300.0040.00814.28
5.6.290.0000.00914.64
5.6.280.0050.03917.51
5.6.270.0060.00914.12
5.6.260.0040.01114.50
5.6.250.0030.01014.27
5.6.240.0060.00614.39
5.6.230.0050.00214.45
5.6.220.0000.01014.30
5.6.210.0050.04717.51
5.6.200.0030.04316.31
5.6.190.0040.03217.41
5.6.180.1680.02217.63
5.6.170.0180.03117.37
5.6.160.0020.04617.39
5.6.150.0070.02916.32
5.6.140.0050.04616.35
5.6.130.0090.01816.30
5.6.120.0020.05117.67
5.6.110.0050.03517.84
5.6.100.0070.03917.86
5.6.90.0030.02617.88
5.6.80.0050.02317.36
5.6.70.0050.03417.45
5.6.60.0140.00414.32
5.6.50.0070.01214.18
5.6.40.0110.00314.25
5.6.30.0070.00414.57
5.6.20.0090.00314.23
5.6.10.0030.01114.43
5.6.00.0070.00714.23
5.5.380.0000.00710.86
5.5.370.0040.00411.07
5.5.360.0000.00611.09
5.5.350.0100.03215.82
5.5.340.0050.02314.55
5.5.330.0050.03615.77
5.5.320.0220.02315.85
5.5.310.0100.02815.64
5.5.300.0020.05014.47
5.5.290.0070.03514.49
5.5.280.0100.03816.02
5.5.270.0100.04216.06
5.5.260.0120.03715.92
5.5.250.0120.03715.71
5.5.240.0050.03515.68
5.5.230.0040.00811.12
5.5.220.0040.00810.74
5.5.210.0040.01111.12
5.5.200.0100.00010.86
5.5.190.0000.00911.14
5.5.180.0040.00710.97
5.5.170.0060.00310.95
5.5.160.0000.01110.96
5.5.150.0070.00010.94
5.5.140.0060.00611.00
5.5.130.0070.00410.82
5.5.120.0030.00711.00
5.5.110.0030.00911.07
5.5.100.0060.00611.05
5.5.90.0000.01210.93
5.5.80.0070.00011.13
5.5.70.0070.00311.05
5.5.60.0060.00610.72
5.5.50.0080.00311.06
5.5.40.0040.00410.95
5.5.30.0050.00311.04
5.5.20.0100.00010.76
5.5.10.0040.00811.22
5.5.00.0040.00411.08
5.4.450.0480.04015.26
5.4.440.0380.03315.29
5.4.430.0560.03315.10
5.4.420.0430.00315.33
5.4.410.0070.03115.03
5.4.400.0140.03114.86
5.4.390.0100.03214.88
5.4.380.0040.03414.72
5.4.370.0000.02714.91
5.4.360.0050.02314.83
5.4.350.0070.02611.42
5.4.340.0090.02311.52
5.4.330.0030.00710.96
5.4.320.0040.02311.78
5.4.310.0030.03411.72
5.4.300.0050.02811.81
5.4.290.0080.02011.62
5.4.280.0060.02111.60
5.4.270.0050.02811.66
5.4.260.0070.02011.76
5.4.250.0050.02411.60
5.4.240.0060.02111.68
5.4.230.0060.02011.64
5.4.220.0040.02211.71
5.4.210.0060.02111.63
5.4.200.0090.01911.56
5.4.190.0030.02911.69
5.4.180.0080.02811.67
5.4.170.0050.03011.56
5.4.160.0080.02711.66
5.4.150.0050.02711.55
5.4.140.0050.02311.68
5.4.130.0060.02211.55
5.4.120.0040.02211.39
5.4.110.0020.02611.49
5.4.100.0060.02411.57
5.4.90.0090.02611.53
5.4.80.0050.02211.58
5.4.70.0070.01911.49
5.4.60.0020.02711.46
5.4.50.0020.02411.53
5.4.40.0070.01911.52
5.4.30.0060.01911.48
5.4.20.0030.02311.36
5.4.10.0100.01811.54
5.4.00.0050.02211.13
5.3.290.0030.02811.71
5.3.280.0050.02211.50
5.3.270.0040.02211.63
5.3.260.0070.02011.66
5.3.250.0050.02211.66
5.3.240.0060.02411.61
5.3.230.0050.02111.58
5.3.220.0050.02211.53
5.3.210.0070.02811.56
5.3.200.0040.03011.56
5.3.190.0070.02811.57
5.3.180.0080.02511.60
5.3.170.0040.02411.57
5.3.160.0100.03611.62
5.3.150.0050.03711.64
5.3.140.0090.02011.47
5.3.130.0080.02911.50
5.3.120.0040.02311.47
5.3.110.0050.02311.46
5.3.100.0020.02611.35
5.3.90.0060.02111.21
5.3.80.0030.02211.24
5.3.70.0070.02411.17
5.3.60.0050.02211.29
5.3.50.0070.02011.20
5.3.40.0060.01811.13
5.3.30.0070.01911.19
5.3.20.0060.02011.04
5.3.10.0020.02311.00
5.3.00.0030.02410.98
5.2.170.0040.0199.73
5.2.160.0040.0199.74
5.2.150.0070.0169.73
5.2.140.0060.0179.73
5.2.130.0040.0179.71
5.2.120.0040.0169.71
5.2.110.0050.0209.72
5.2.100.0040.0229.71
5.2.90.0030.0259.71
5.2.80.0020.0309.71
5.2.70.0080.0249.71
5.2.60.0040.0239.69
5.2.50.0070.0169.67
5.2.40.0050.0179.66
5.2.30.0020.0229.65
5.2.20.0040.0189.65
5.2.10.0050.0179.61
5.2.00.0030.0199.54
5.1.60.0020.0179.18
5.1.50.0060.0149.18
5.1.40.0040.0169.17
5.1.30.0020.0239.35
5.1.20.0040.0219.36
5.1.10.0090.0159.22
5.1.00.0050.0229.22
5.0.50.0030.0148.46
5.0.40.0050.0118.39
5.0.30.0040.0168.29
5.0.20.0040.0118.28
5.0.10.0060.0148.27
5.0.00.0030.0228.26
4.4.90.0030.0117.52
4.4.80.0020.0107.51
4.4.70.0040.0087.50
4.4.60.0040.0087.51
4.4.50.0030.0107.51
4.4.40.0010.0167.48
4.4.30.0010.0117.51
4.4.20.0010.0127.55
4.4.10.0040.0127.55
4.4.00.0020.0197.51
4.3.110.0050.0117.46
4.3.100.0020.0177.46
4.3.90.0040.0177.44
4.3.80.0090.0307.42
4.3.70.0010.0157.44
4.3.60.0030.0127.44
4.3.50.0020.0137.44
4.3.40.0040.0217.40
4.3.30.0030.0106.77
4.3.20.0020.0116.76
4.3.10.0020.0106.74
4.3.00.0080.0108.47

preferences:
45.42 ms | 401 KiB | 5 Q