3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!defined('GLPI_ROOT')) define('GLPI_ROOT', "../.."); function plugin_portswitch_install() { include_once( GLPI_ROOT."/plugins/portswitch/portswitch.class.php"); if(!(is_dir(GLPI_ROOT."/files/_plugins/portswitch"))) if(!(mkdir(GLPI_ROOT."/files/_plugins/portswitch"))) die("Konnte ".GLPI_ROOT."/files/_plugins/portswitch nicht erstellen."); PluginPortswitchPortswitch::$config_data[0]['name'] = "Name"; PluginPortswitchPortswitch::$config_data[0]['ip'] = "0.0.0.0"; PluginPortswitchPortswitch::$config_data[0]['port'] = "0"; PluginPortswitchPortswitch::$config_data[0]['kommentar'] = ""; PluginPortswitchPortswitch::$config_data[0]['status'] = "Unbekannt"; PluginPortswitchPortswitch::$config_data[0]['passwort'] = "Passwort"; PluginPortswitchPortswitch::$config_data[0]['stack'] = "0"; PluginPortswitchPortswitch::$config_data[0]['hostname'] = ""; PluginPortswitchPortswitch::saveConfig(); return true; } function plugin_portswitch_uninstall() { if(file_exists(GLPI_ROOT."/files/_plugins/portswitch/config.ini")) unlink(GLPI_ROOT."/files/_plugins/portswitch/config.ini"); if(is_dir(GLPI_ROOT."/files/_plugins/portswitch")) rmdir(GLPI_ROOT."/files/_plugins/portswitch"); return true; } ?>

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.0090.00918.38
8.3.60.0040.01616.49
8.3.50.0080.01022.06
8.3.40.0150.00618.67
8.3.30.0030.01419.12
8.3.20.0070.00020.15
8.3.10.0000.00823.65
8.3.00.0110.00419.25
8.2.180.0060.00918.29
8.2.170.0120.00322.96
8.2.160.0110.00420.28
8.2.150.0060.00324.18
8.2.140.0090.00924.66
8.2.130.0070.00026.16
8.2.120.0040.00420.84
8.2.110.0000.00920.55
8.2.100.0080.00417.66
8.2.90.0030.00619.18
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0030.00717.80
8.2.50.0040.00418.07
8.2.40.0040.00419.88
8.2.30.0040.00418.23
8.2.20.0050.00317.64
8.2.10.0000.00818.04
8.2.00.0050.00217.65
8.1.280.0140.00325.92
8.1.270.0060.00923.84
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0050.00522.24
8.1.230.0110.00022.25
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0120.00317.23
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0040.00421.90
8.1.150.0040.00418.53
8.1.140.0040.00417.34
8.1.130.0000.00717.80
8.1.120.0030.00317.33
8.1.110.0000.00817.36
8.1.100.0040.00417.39
8.1.90.0070.00017.36
8.1.80.0000.00817.39
8.1.70.0030.00317.36
8.1.60.0000.00717.57
8.1.50.0050.00317.47
8.1.40.0090.00017.44
8.1.30.0060.00317.61
8.1.20.0020.00517.63
8.1.10.0080.00017.36
8.1.00.0050.00317.43
8.0.300.0050.00318.77
8.0.290.0040.00417.18
8.0.280.0000.00718.33
8.0.270.0040.00417.23
8.0.260.0030.00317.23
8.0.250.0030.00316.97
8.0.240.0040.00416.89
8.0.230.0000.00716.91
8.0.220.0040.00416.90
8.0.210.0000.00716.73
8.0.200.0000.00616.82
8.0.190.0000.00916.84
8.0.180.0030.00516.80
8.0.170.0050.00316.74
8.0.160.0070.00016.91
8.0.150.0000.00716.78
8.0.140.0070.00016.70
8.0.130.0030.00313.31
8.0.120.0000.00916.86
8.0.110.0020.00516.86
8.0.100.0080.00016.90
8.0.90.0050.00216.73
8.0.80.0060.01516.93
8.0.70.0000.00716.73
8.0.60.0070.00016.86
8.0.50.0000.00716.91
8.0.30.0070.01516.87
8.0.20.0110.00817.40
8.0.10.0040.00416.81
8.0.00.0070.01416.73
7.4.330.0030.00315.04
7.4.320.0000.00616.34
7.4.300.0000.00916.42
7.4.290.0050.00316.60
7.4.280.0040.00416.57
7.4.270.0030.00316.47
7.4.260.0000.00716.54
7.4.250.0030.00316.45
7.4.240.0000.00716.50
7.4.230.0000.00716.32
7.4.220.0090.00916.41
7.4.210.0060.01116.50
7.4.200.0000.00716.25
7.4.190.0000.00716.66
7.4.160.0080.00816.55
7.4.150.0140.00417.40
7.4.140.0110.00917.86
7.4.130.0140.00716.37
7.4.120.0080.01116.46
7.4.110.0130.00916.43
7.4.100.0100.01016.64
7.4.90.0120.01216.36
7.4.80.0090.01119.39
7.4.70.0110.00816.43
7.4.60.0130.00316.46
7.4.50.0000.00416.22
7.4.40.0120.00916.50
7.4.30.0080.00816.43
7.4.00.0040.00815.13
7.3.330.0060.00013.14
7.3.320.0000.00612.98
7.3.310.0080.00016.06
7.3.300.0000.00616.21
7.3.290.0080.00516.32
7.3.280.0080.01016.19
7.3.270.0120.01217.40
7.3.260.0100.00716.46
7.3.250.0110.00916.53
7.3.240.0140.00716.13
7.3.230.0080.00816.55
7.3.210.0120.00916.23
7.3.200.0030.01419.39
7.3.190.0040.01616.24
7.3.180.0040.01816.43
7.3.170.0100.00616.52
7.3.160.0120.00316.16
7.3.120.0070.00414.88
7.3.10.0070.00716.54
7.3.00.0030.00516.69
7.2.330.0070.01016.65
7.2.320.0060.01116.40
7.2.310.0150.00716.40
7.2.300.0080.01216.60
7.2.290.0060.01516.69
7.2.130.0030.01016.57
7.2.120.0060.00916.72
7.2.110.0030.00616.92
7.2.100.0000.00916.55
7.2.90.0070.00716.88
7.2.80.0040.01116.84
7.2.70.0030.00916.77
7.2.60.0140.00616.82
7.2.50.0060.00616.91
7.2.40.0080.01116.51
7.2.30.0060.00916.97
7.2.20.0040.00717.04
7.2.10.0040.01416.82
7.2.00.0020.01017.97
7.1.250.0060.00615.42
7.1.100.0050.00518.25
7.1.70.0030.00816.96
7.1.60.0070.01019.46
7.1.50.0030.01316.86
7.1.00.0000.08022.31
7.0.200.0000.00716.63
7.0.140.0000.07721.99
7.0.60.0070.06720.05
7.0.50.0070.05017.92
7.0.40.0130.03720.23
7.0.30.0300.05020.24
7.0.20.0330.03720.30
7.0.10.0070.05320.12
7.0.00.0070.03720.25
5.6.280.0030.07321.04
5.6.210.0170.05720.70
5.6.200.0000.08018.12
5.6.190.0170.06020.57
5.6.180.0430.04020.49
5.6.170.0100.05720.44
5.6.160.0100.04020.54
5.6.150.0030.06018.19
5.6.140.0030.06018.28
5.6.130.0070.08018.19
5.6.120.0070.05720.98
5.6.110.0070.05721.15
5.6.100.0030.04721.09
5.6.90.0070.07321.11
5.6.80.0070.07720.40
5.5.350.0300.08020.34
5.5.340.0030.05717.98
5.5.330.0200.07020.18
5.5.320.0130.04020.42
5.5.310.0270.08020.36
5.5.300.0070.03717.92
5.5.290.0070.08317.92
5.5.280.0030.04020.95
5.5.270.0070.05020.95
5.5.260.0070.08020.77
5.5.250.0170.07720.67
5.5.240.0130.06320.17
5.4.450.0530.08019.48
5.4.440.1000.06019.31
5.4.430.0800.06019.58
5.4.420.0200.04719.39
5.4.410.0130.05019.37
5.4.400.0030.05719.33
5.4.390.0100.05319.08
5.4.380.0070.05318.75
5.4.370.0030.06018.71
5.4.360.0100.03318.76
5.4.350.0050.03412.02
5.4.340.0060.04012.02
5.4.320.0040.03712.51
5.4.310.0070.04012.51
5.4.300.0040.03712.51
5.4.290.0080.03912.51
5.4.280.0030.04012.40
5.4.270.0070.03712.41
5.4.260.0080.03612.40
5.4.250.0090.03712.41
5.4.240.0050.03912.41
5.4.230.0060.04012.40
5.4.220.0060.04612.40
5.4.210.0060.05012.39
5.4.200.0060.05812.40
5.4.190.0040.03812.39
5.4.180.0040.04512.39
5.4.170.0100.03212.40
5.4.160.0110.03212.39
5.4.150.0040.03912.40
5.4.140.0090.03812.07
5.4.130.0110.03212.07
5.4.120.0110.03212.03
5.4.110.0050.04112.02
5.4.100.0030.04012.02
5.4.90.0060.04712.02
5.4.80.0090.04312.02
5.4.70.0070.03412.02
5.4.60.0100.03112.02
5.4.50.0070.03412.02
5.4.40.0080.03312.00
5.4.30.0080.03512.00
5.4.20.0040.04512.00
5.4.10.0070.03512.00
5.4.00.0050.04511.49
5.3.290.0060.03812.80
5.3.280.0070.04512.71
5.3.270.0080.04512.72
5.3.260.0050.05612.72
5.3.250.0100.04612.72
5.3.240.0140.07612.72
5.3.230.0150.08112.71
5.3.220.0100.05612.68
5.3.210.0120.06512.68
5.3.200.0090.06312.68
5.3.190.0070.04012.68
5.3.180.0120.03412.67
5.3.170.0120.03812.67
5.3.160.0070.03612.67
5.3.150.0100.03512.68
5.3.140.0090.03612.66
5.3.130.0090.04012.66
5.3.120.0130.04412.66
5.3.110.0140.05912.66
5.3.100.0070.04912.13
5.3.90.0080.05512.12
5.3.80.0150.06112.11
5.3.70.0060.05612.11
5.3.60.0120.04012.10
5.3.50.0120.04712.04
5.3.40.0120.04012.04
5.3.30.0070.03712.00
5.3.20.0090.03411.78
5.3.10.0140.04511.75
5.3.00.0080.05011.73
5.2.170.0060.0409.23
5.2.160.0130.0359.23
5.2.150.0130.0809.23
5.2.140.0060.0489.23
5.2.130.0090.0429.19
5.2.120.0070.0539.20
5.2.110.0200.0629.20
5.2.100.0070.0409.20
5.2.90.0150.0869.20
5.2.80.0090.0329.19
5.2.70.0130.0559.19
5.2.60.0030.0609.15
5.2.50.0060.0399.13
5.2.40.0070.0309.10
5.2.30.0070.0339.06
5.2.20.0020.0349.05
5.2.10.0030.0318.96
5.2.00.0060.0348.82
5.1.60.0030.0278.10
5.1.50.0040.0298.10
5.1.40.0070.0368.08
5.1.30.0090.0218.43
5.1.20.0050.0258.45
5.1.10.0070.0238.18
5.1.00.0080.0228.18
5.0.50.0030.0226.65
5.0.40.0070.0326.52
5.0.30.0040.0366.32
5.0.20.0040.0206.29
5.0.10.0030.0206.27
5.0.00.0030.0316.27
4.4.90.0030.0154.78
4.4.80.0010.0164.76
4.4.70.0030.0154.75
4.4.60.0010.0174.75
4.4.50.0040.0144.77
4.4.40.0010.0264.70
4.4.30.0020.0164.75
4.4.20.0020.0154.84
4.4.10.0040.0144.84
4.4.00.0020.0254.76
4.3.110.0030.0154.67
4.3.100.0020.0164.66
4.3.90.0020.0154.63
4.3.80.0030.0234.59
4.3.70.0030.0144.63
4.3.60.0020.0154.63
4.3.50.0010.0174.63
4.3.40.0040.0224.54
4.3.30.0010.0163.30
4.3.20.0030.0153.29
4.3.10.0040.0213.25
4.3.00.0070.0237.98

preferences:
42.99 ms | 401 KiB | 5 Q