3v4l.org

run code in 300+ PHP versions simultaneously
<?php # SET DATABASE VARIABLES $ROOT="/var/www/picardo/"; $DB_USER ="masscom"; $DB_PASSWORD="p1x1e1"; $DB_TYPE="mysql"; $DB_HOST="127.0.0.1"; $DBASE="lipsvc"; # Modified by nathan@webr3.org $port_open = shell_exec("netstat -tulpn | grep 3309"); // check if ssh tunnel is open if(!$port_open) { // if not open shell_exec("echo 'pixie1234' | sudo -S ssh -f -L 3309:127.0.0.1:3306 root@72.93.87.15 -p 8022 -N >> logfile"); // reopen ssh tunnel usleep(500000); // apply half second grace period to allow connection to be established } $STYLESHEET=$ROOT."/styles/style.css"; //transaction variables may be set here $apps= $_REQUEST[apps]; $acctid = $_REQUEST[acctid]; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: shell_exec(): Unable to execute 'netstat -tulpn | grep 3309' in /in/qBqFY on line 11 Warning: shell_exec(): Unable to execute 'echo 'pixie1234' | sudo -S ssh -f -L 3309:127.0.0.1:3306 root@72.93.87.15 -p 8022 -N >> logfile' in /in/qBqFY on line 13 Fatal error: Uncaught Error: Undefined constant "apps" in /in/qBqFY:19 Stack trace: #0 {main} thrown in /in/qBqFY on line 19
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:
43.7 ms | 401 KiB | 8 Q