3v4l.org

run code in 300+ PHP versions simultaneously
<?php $browser = new COM("InternetExplorer.Application"); $handle = $browser->HWND; $browser->Visible = true; $browser->Width = 800; $browser->Height = 3000; $browser->Resizable = false; $browser->Navigate("http://surrenderat20.net"); while ($browser->Busy) { com_message_pump(4000); } ob_start(); $im = imagegrabwindow($handle, 0); imagejpeg($im, NULL, 100); $rawBytes = ob_get_clean(); echo "<div id='screenshot'><img src='data:images/jpeg;base64,".base64_encode($rawBytes)."'/></div>"; $browser->Quit(); imagedestroy($im);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "COM" not found in /in/EIqv0:3 Stack trace: #0 {main} thrown in /in/EIqv0 on line 3
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:
56.24 ms | 401 KiB | 8 Q