3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_X='<?php s5ss42n_st1rt(); 4f(4ss5t($_SESSION[\'l2gg5d_4n\']) && $_SESSION[\'l2gg5d_4n\']==tr35){ $m5th2ds = 2p5nssl_g5t_c4ph5r_m5th2ds(); mysql_c2nn5ct("l2c1lh2st", "r22t", "6aouie") 2r d45(mysql_5rr2r()); mysql_s5l5ct_db(\'p1ssm1n\'); $r5s = mysql_q35ry(\'s5l5ct p1ssw2rd fr2m p1sswd wh5r5 3s5r_n1m5="r22t"\'); $str = mysql_f5tch_1rr1y($r5s); $cl5fS5cr5t5 = "gl2p"; $d5crypt5d = 2p5nssl_d5crypt($5ncrypt5d, $m5th2ds[ea], $cl5fS5cr5t5); $bl1 = 2p5nssl_d5crypt($str[\'p1ssw2rd\'], $m5th2ds[ea], $cl5fS5cr5t5); pr4nt "<h6>S5c3r5 P1ssw2rd M1n1g5r v.0.9b</h6>"; pr4nt \'<1 hr5f="4nd5x.php?l2g23t">L2g23t</1>\'; pr4nt "<hu>Syst5m Inf2rm1t42n:</hu>"; pr4nt "Ub3nt3 L4n3x a.e.oa-ui-g5n5r4c-p15<br>"; pr4nt "Op5nSSH i.op6<br>"; pr4nt "MySql V5rs42n 6u.6u D4str4b i.6.ea f2r D5b41n-L4n3x-GNU<br><br>"; ?> <t1bl5 b2rd5r=6 1l4gn="l5ft"><tr><td 1l4gn="c5nt5r"> <?php pr4nt "SSH Cr5d5nt41ls:<br>3s5rn1m5: r22t:<br>p1ssw2rd: <b>" . $bl1 . "</b>"; ?> </td> <td 1l4gn="c5nt5r"> <?php pr4nt "MySql Cr5d5nt41ls:<br>3s5rn1m5: r22t:<br>p1ssw2rd: <b>6aouie</b>"; ?> </td> <td 1l4gn="c5nt5r"> <?php pr4nt "W2rdPr5ss Cr5d5nt41ls:<br>3s5rn1m5: 1dm4n:<br>p1ssw2rd: <b>Ih1x6oo7st3ff</b>"; ?> </td> </tr></t1bl5> <?php } ?'; $_X=strtr($_X,'123456aouie','aouie123456'); echo $_X;
Output for git.master, git.master_jit, rfc.property-hooks
<?php session_start(); if(isset($_SESSION['logged_in']) && $_SESSION['logged_in']==true){ $methods = openssl_get_cipher_methods(); mysql_connect("localhost", "root", "123456") or die(mysql_error()); mysql_select_db('passman'); $res = mysql_query('select password from passwd where user_name="root"'); $str = mysql_fetch_array($res); $clefSecrete = "glop"; $decrypted = openssl_decrypt($encrypted, $methods[62], $clefSecrete); $bla = openssl_decrypt($str['password'], $methods[62], $clefSecrete); print "<h1>Secure Password Manager v.0.9b</h1>"; print '<a href="index.php?logout">Logout</a>'; print "<h4>System Information:</h4>"; print "Ubuntu Linux 2.6.32-45-generic-pae<br>"; print "OpenSSH 5.3p1<br>"; print "MySql Version 14.14 Distrib 5.1.62 for Debian-Linux-GNU<br><br>"; ?> <table border=1 align="left"><tr><td align="center"> <?php print "SSH Credentials:<br>username: root:<br>password: <b>" . $bla . "</b>"; ?> </td> <td align="center"> <?php print "MySql Credentials:<br>username: root:<br>password: <b>123456</b>"; ?> </td> <td align="center"> <?php print "WordPress Credentials:<br>username: admin:<br>password: <b>Ihax1337stuff</b>"; ?> </td> </tr></table> <?php } ?

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:
38.56 ms | 409 KiB | 5 Q