3v4l.org

run code in 300+ PHP versions simultaneously
<?php $station = (object) array( 'id' => '', 'name' => '', 'brandId' => 0, 'selfReport' => 0, 'checked' => 0, 'mts' => 1, 'streetAddress' => '', 'zipCode' => 0, 'cityName' => '', 'countryCode' => 'DE', 'phone' => '', 'coordinates' => array( 'lat' => '', 'lng' => '', ), 'openHours' => '', 'fuelOrder' => array(1,2,3,4), 'fuelTypes' => array( array( 'id' => 1, 'name' => '', ), array( 'id' => 2, 'name' => '', ) ), ); var_dump($station);
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#1 (15) { ["id"]=> string(0) "" ["name"]=> string(0) "" ["brandId"]=> int(0) ["selfReport"]=> int(0) ["checked"]=> int(0) ["mts"]=> int(1) ["streetAddress"]=> string(0) "" ["zipCode"]=> int(0) ["cityName"]=> string(0) "" ["countryCode"]=> string(2) "DE" ["phone"]=> string(0) "" ["coordinates"]=> array(2) { ["lat"]=> string(0) "" ["lng"]=> string(0) "" } ["openHours"]=> string(0) "" ["fuelOrder"]=> array(4) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) } ["fuelTypes"]=> array(2) { [0]=> array(2) { ["id"]=> int(1) ["name"]=> string(0) "" } [1]=> array(2) { ["id"]=> int(2) ["name"]=> string(0) "" } } }

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:
43.5 ms | 403 KiB | 8 Q