3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Product { static function alloc($data) { return new static($data); } } class ProductBase extends Product { public $id, $sku2, $product_id2, $title2, $slug2, $active1; } class ProductView extends ProductBase { protected $table = 'product_offers_view'; public $id, $sku, $product_id, $title, $slug, $active, $description, $image, $store_id, $store_name, $vendor_id, $vendor_name, $category_id, $category_name, $in_stock, $store_one_price, $store_one_prev_price, $store_one_price_date, $store_one_prev_price_date, $store_one_price_delta, $store_one_in_stock, $store_two_price, $store_two_price_delta, $store_two_price_date, $store_two_prev_price_date, $store_two_prev_price, $store_two_in_stock, $store_three_price, $store_three_price_delta, $store_three_price_date, $store_three_prev_price_date, $store_three_prev_price, $store_three_in_stock; } for ($i = 0; $i < 100; $i++) { new ProductView($i); }
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:
65.2 ms | 401 KiB | 8 Q