<?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.4.0 - 5.4.22
- Parse error: syntax error, unexpected ''zipCode'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/ZjEdC on line 10
Process exited with code 255. - Output for 5.3.0 - 5.3.27
- Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/ZjEdC on line 10
Process exited with code 255.
preferences:
162.49 ms | 1395 KiB | 58 Q