3v4l.org

run code in 300+ PHP versions simultaneously
<?php require_once("include.php"); if(!xml2php("Email")) { $smarty->assign('error_msg',"Error in language file"); } //Get current password $sql = mysql_query("SELECT * FROM ".PRFX."EMAIL_CONNECTOR_SETTINGS"); $sql=mysql_fetch_array($sql); $eml_account_pword=$sql['EMAIL_ACCOUNT_PASSWORD']; //Get password from form $eml_pass = $VAR['email_account_password']; //Encrypt the password $enc_pass = encrypt_decrypt('encrypt', $eml_pass); if($eml_account_pword == $eml_pass){ $eml_acc_pass = $eml_account_pword; } else { $eml_acc_pass = $enc_pass; } if ($VAR["eml_settings"]) { $sql = 'UPDATE '.PRFX.'EMAIL_CONNECTOR_SETTINGS SET EMAIL_SERVER = '. $db->qstr( $VAR['email_server']) .', EMAIL_SERVER_PORT = '. $db->qstr( $VAR['email_server_port']) .', CONNECTION_TYPE = '. $db->qstr( $VAR['connection_type']) .', EMAIL_ACCOUNT = '. $db->qstr( $VAR['email_account']) .', EMAIL_ACCOUNT_USERNAME = '. $db->qstr( $VAR['email_account_username']) .', EMAIL_ACCOUNT_PASSWORD = '. $db->qstr($eml_acc_pass) .', SERVICE_CONTROL = '. $db->qstr( $VAR['service_control']) .', ENABLE_EMAIL_FLOOD_CONTROL = '. $db->qstr( $VAR['enable_email_flood_control']) .', FETCH_EMAIL_FROM = '. $db->qstr( $VAR['fetch_email_from']) .', EMAIL_FLOOD_CONTROL = '. $db->qstr( $VAR['email_flood_control']); if(!$result = $db->Execute($sql)) { force_page('core', 'error&error_msg=MySQL Error: '.$db->ErrorMsg().'&menu=1&type=database'); } else { force_page('email', 'email_settings&page_title=Email | Email Settings'); exit; } } /* Get Email Settings */ $sql = 'SELECT * FROM '.PRFX.'EMAIL_CONNECTOR_SETTINGS'; if(!$result = $db->Execute($sql)) { force_page('core', 'error&error_msg=MySQL Error: '.$db->ErrorMsg().'&menu=1&type=database'); exit; } $email_settings = $result->GetArray(); $smarty->assign('email_settings', $email_settings); $smarty->display('email'.SEP.'email_settings.tpl'); ?>

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.0070.01116.75
8.3.60.0110.00416.75
8.3.50.0110.01322.82
8.3.40.0080.00818.98
8.3.30.0140.00019.21
8.3.20.0030.00620.20
8.3.10.0000.00923.66
8.3.00.0030.00619.50
8.2.180.0070.00716.63
8.2.170.0070.00722.96
8.2.160.0150.00620.49
8.2.150.0160.00324.18
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0030.00521.10
8.2.110.0120.00019.33
8.2.100.0040.00818.03
8.2.90.0040.00418.03
8.2.80.0060.00317.97
8.2.70.0030.00517.88
8.2.60.0040.00418.05
8.2.50.0090.00018.07
8.2.40.0000.00919.99
8.2.30.0070.00018.09
8.2.20.0000.00817.79
8.2.10.0000.00818.05
8.2.00.0040.00417.82
8.1.280.0090.00625.92
8.1.270.0040.00422.32
8.1.260.0040.00426.35
8.1.250.0070.00328.09
8.1.240.0030.00722.60
8.1.230.0060.00621.02
8.1.220.0030.00717.74
8.1.210.0080.00018.95
8.1.200.0030.00717.35
8.1.190.0000.00917.23
8.1.180.0000.00818.10
8.1.170.0000.00818.65
8.1.160.0040.00421.98
8.1.150.0050.00218.79
8.1.140.0040.00417.39
8.1.130.0070.00017.89
8.1.120.0030.00517.50
8.1.110.0000.00817.45
8.1.100.0040.00417.53
8.1.90.0040.00417.43
8.1.80.0040.00417.47
8.1.70.0030.00317.44
8.1.60.0030.00517.57
8.1.50.0000.00917.61
8.1.40.0040.00417.60
8.1.30.0060.00317.53
8.1.20.0040.00417.61
8.1.10.0070.00017.67
8.1.00.0070.00017.58
8.0.300.0000.00820.12
8.0.290.0000.00717.00
8.0.280.0040.00418.52
8.0.270.0000.00717.37
8.0.260.0070.00017.47
8.0.250.0030.00317.12
8.0.240.0070.00017.09
8.0.230.0030.00317.14
8.0.220.0030.00317.12
8.0.210.0040.00417.13
8.0.200.0000.00717.23
8.0.190.0050.00317.16
8.0.180.0040.00417.05
8.0.170.0040.00417.17
8.0.160.0070.00017.16
8.0.150.0000.00717.05
8.0.140.0030.00516.96
8.0.130.0000.00613.52
8.0.120.0040.00417.02
8.0.110.0050.00317.09
8.0.100.0080.00017.11
8.0.90.0040.00417.07
8.0.80.0030.01417.05
8.0.70.0000.00717.15
8.0.60.0000.00817.02
8.0.50.0080.00017.01
8.0.30.0130.00717.12
8.0.20.0120.01017.42
8.0.10.0040.00416.96
8.0.00.0080.01017.09
7.4.330.0050.00015.03
7.4.320.0000.00716.71
7.4.300.0000.00716.59
7.4.290.0030.00316.68
7.4.280.0050.00316.72
7.4.270.0030.00316.71
7.4.260.0040.00416.48
7.4.250.0030.00516.63
7.4.240.0040.00416.61
7.4.230.0000.00716.68
7.4.220.0030.01416.71
7.4.210.0030.01316.54
7.4.200.0050.00316.75
7.4.160.0110.00416.63
7.4.150.0030.01517.40
7.4.140.0140.00817.86
7.4.130.0120.00616.70
7.4.120.0100.01216.52
7.4.110.0120.00616.52
7.4.100.0060.01016.59
7.4.90.0150.00616.65
7.4.80.0180.00019.39
7.4.70.0060.01216.42
7.4.60.0130.00316.38
7.4.50.0050.00316.43
7.4.40.0180.00416.64
7.4.30.0090.00616.60
7.4.00.0070.00414.93
7.3.330.0000.00513.20
7.3.320.0000.00613.09
7.3.310.0000.00716.29
7.3.300.0030.00316.22
7.3.290.0030.01216.34
7.3.280.0090.00716.44
7.3.270.0130.01017.40
7.3.260.0120.01216.32
7.3.250.0040.01416.35
7.3.240.0120.00916.54
7.3.230.0110.00516.55
7.3.210.0090.00916.43
7.3.200.0060.00919.39
7.3.190.0040.01316.46
7.3.180.0070.01416.41
7.3.170.0110.01116.31
7.3.160.0130.00316.49
7.3.10.0030.01016.59
7.3.00.0030.00516.49
7.2.330.0140.00316.64
7.2.320.0120.00616.39
7.2.310.0150.00816.52
7.2.300.0100.00816.44
7.2.290.0110.01116.69
7.2.130.0030.01016.86
7.2.120.0060.01316.73
7.2.110.0060.00616.61
7.2.100.0090.00616.59
7.2.90.0090.00916.71
7.2.80.0030.01416.68
7.2.70.0100.00016.87
7.2.60.0080.00516.48
7.2.50.0060.00616.77
7.2.40.0040.00716.94
7.2.30.0030.00916.95
7.2.20.0040.00716.68
7.2.10.0070.00316.72
7.2.00.0060.00818.00
7.1.250.0030.00915.64
7.1.200.0030.01015.71
7.1.100.0250.00417.91
7.1.70.0000.00717.01
7.1.60.0100.01019.40
7.1.50.0320.00734.47
7.1.00.0000.08022.37
7.0.200.0030.00716.51
7.0.140.0030.07022.05
7.0.60.0030.08019.98
7.0.50.0130.07717.88
7.0.40.0100.05720.07
7.0.30.0500.05720.10
7.0.20.0370.07020.18
7.0.10.0070.09020.12
7.0.00.0000.08720.00
5.6.280.0100.06720.88
5.6.210.0100.06320.49
5.6.200.0000.05318.23
5.6.190.0100.08320.44
5.6.180.0230.07320.68
5.6.170.0170.07020.70
5.6.160.0130.07020.49
5.6.150.0130.05718.16
5.6.140.0100.08018.22
5.6.130.0130.07718.25
5.6.120.0100.03721.13
5.6.110.0100.08021.14
5.6.100.0030.09321.16
5.6.90.0070.04720.99
5.6.80.0270.06320.41
5.6.70.0200.03720.50
5.5.350.0100.07320.32
5.5.340.0030.04318.03
5.5.330.0070.08320.37
5.5.320.0370.04020.29
5.5.310.0270.06020.20
5.5.300.0070.04317.98
5.5.290.0030.06317.89
5.5.280.0130.08020.91
5.5.270.0070.04720.89
5.5.260.0070.04020.77
5.5.250.0100.08320.71
5.5.240.0000.08020.21
5.4.450.0230.05719.28
5.4.440.0730.06319.48
5.4.430.0830.05019.52
5.4.420.0730.06019.58
5.4.410.0900.07019.38
5.4.400.0730.05019.23
5.4.390.0700.06019.23
5.4.380.0370.05718.74
5.4.370.0430.05018.60
5.4.360.0530.04718.62
5.4.350.0530.06718.57
5.4.340.0270.06018.69
5.4.320.0070.03512.49
5.4.310.0030.04012.49
5.4.300.0060.03612.49
5.4.290.0060.03712.48
5.4.280.0070.03312.39
5.4.270.0090.03412.38
5.4.260.0090.03512.39
5.4.250.0060.03812.38
5.4.240.0030.03912.39
5.4.230.0080.03612.38
5.4.220.0090.04712.38
5.4.210.0080.03612.38
5.4.200.0040.04112.38
5.4.190.0100.04012.38
5.4.180.0060.03612.37
5.4.170.0070.03512.38
5.4.160.0090.03312.38
5.4.150.0070.03412.38
5.4.140.0050.03712.06
5.4.130.0050.03512.05
5.4.120.0040.03712.01
5.4.110.0040.03912.00
5.4.100.0080.03512.00
5.4.90.0060.03712.00
5.4.80.0060.03712.00
5.4.70.0050.04112.00
5.4.60.0060.03512.00
5.4.50.0040.03812.00
5.4.40.0060.03411.98
5.4.30.0080.03411.98
5.4.20.0020.03811.98
5.4.10.0060.03811.98
5.4.00.0050.03611.48
5.3.290.0090.03612.80
5.3.280.0060.03712.71
5.3.270.0050.04212.72
5.3.260.0020.04312.72
5.3.250.0060.03912.71
5.3.240.0060.03812.72
5.3.230.0080.03712.71
5.3.220.0050.03712.68
5.3.210.0060.03812.68
5.3.200.0070.03412.68
5.3.190.0080.04212.68
5.3.180.0070.04512.67
5.3.170.0070.04912.67
5.3.160.0080.04812.67
5.3.150.0060.03712.67
5.3.140.0070.03712.66
5.3.130.0070.04412.66
5.3.120.0030.04312.66
5.3.110.0070.03712.66
5.3.100.0060.03712.11
5.3.90.0050.03712.10
5.3.80.0050.03712.09
5.3.70.0100.03212.09
5.3.60.0080.03412.07
5.3.50.0050.03712.02
5.3.40.0050.03712.02
5.3.30.0050.03611.98
5.3.20.0050.03511.76
5.3.10.0030.03711.73
5.3.00.0060.03611.71
5.2.170.0070.0289.21
5.2.160.0050.0299.21
5.2.150.0050.0309.23
5.2.140.0050.0309.21
5.2.130.0070.0279.17
5.2.120.0080.0279.18
5.2.110.0040.0319.18
5.2.100.0060.0269.17
5.2.90.0050.0299.18
5.2.80.0020.0329.17
5.2.70.0060.0289.17
5.2.60.0040.0309.13
5.2.50.0070.0329.10
5.2.40.0030.0319.07
5.2.30.0040.0309.05
5.2.20.0040.0299.04
5.2.10.0040.0288.96
5.2.00.0060.0278.83
5.1.60.0060.0228.11
5.1.50.0040.0248.11
5.1.40.0020.0268.09
5.1.30.0020.0278.44
5.1.20.0060.0288.45
5.1.10.0020.0318.19
5.1.00.0040.0288.18
5.0.50.0040.0196.66
5.0.40.0020.0206.53
5.0.30.0020.0326.34
5.0.20.0040.0186.31
5.0.10.0020.0216.28
5.0.00.0030.0306.27
4.4.90.0040.0144.78
4.4.80.0000.0174.76
4.4.70.0020.0164.76
4.4.60.0040.0144.75
4.4.50.0030.0154.77
4.4.40.0030.0264.71
4.4.30.0010.0174.75
4.4.20.0030.0174.84
4.4.10.0040.0264.85
4.4.00.0020.0254.76
4.3.110.0020.0164.67
4.3.100.0020.0164.67
4.3.90.0010.0164.63
4.3.80.0020.0254.58
4.3.70.0020.0164.63
4.3.60.0040.0134.63
4.3.50.0030.0154.63
4.3.40.0050.0224.54
4.3.30.0050.0153.32
4.3.20.0010.0183.30
4.3.10.0020.0173.26
4.3.00.0000.0237.40

preferences:
100.75 ms | 401 KiB | 5 Q