3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A{ protected $a1; protected $a2; protected $a3; protected $a4; protected $a5; protected $a6; protected $a7; protected $a8; protected $a9; protected $a10; public function __construct(array $data){ foreach ($data as $k => $v) { $this->$k = $v; } } } $iter = 100000; for ($i=0; $i<$iter; $i++) { $a = new A(array( 'a1' => 'hello', 'a2' => 'hello', 'a3' => 'hello', 'a4' => 'hello', 'a5' => 'hello', 'a6' => 'hello', 'a7' => 'hello', 'a8' => 'hello', 'a9' => 'hello', 'a10' => 'hello' )); }
Output for git.master, git.master_jit, rfc.property-hooks

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:
36.74 ms | 401 KiB | 8 Q