3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public function __construct() { print_r( $this->defaults() ); } private function defaults(){ return array( 'allowFileManager' => true, 'allowMediaUpload' => true, 'allowFlashUpload' => true, 'allowImageUpload' => true, 'shadowMode' => false, 'width' => '100%', 'height' => '350px', 'uploadJson' => 'test', ); } } new test();
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [allowFileManager] => 1 [allowMediaUpload] => 1 [allowFlashUpload] => 1 [allowImageUpload] => 1 [shadowMode] => [width] => 100% [height] => 350px [uploadJson] => test )

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:
174.5 ms | 406 KiB | 5 Q