3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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($stations);
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: stations in /in/JPfrc on line 31 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: stations in /in/JPfrc on line 31 NULL