3v4l.org

run code in 500+ PHP versions simultaneously
<?php use WHMCS\Database\Capsule; add_hook('AdminAreaPage', 1, function($vars) {     if ($vars['filename'] == 'orders' AND $_GET['id'])     {         $Data = Capsule::select(Capsule::raw('SELECT dedicatedip, username, password FROM tblhosting WHERE orderid = "' . $_GET['id'] . '"'));         $Data = (array)$Data;                       $command = 'DecryptPassword';     $adminUsername = 'user'; // Optional for WHMCS 7.2 and later          foreach ($Data as $value) { $pass = $value->password; $postData = array(     'password2' => "$pass", ); $ipaddress=$value->dedicatedip; $password=$results[password]; $results = localAPI($command, $postData, $adminUsername);         print_r($value->dedicatedip);echo" ";         print_r($results[password]);echo"</br>";         }              } }); ?>
Output for git.master_jit, git.master
Parse error: syntax error, unexpected identifier " " in /in/bFpOT on line 6
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
49.48 ms | 684 KiB | 3 Q