@ 2014-02-26T11:41:35Z <?php
$arr = array(
'id' => '4c44c3e074ffc928250576cc',
'name' => 'Salvation Army',
'contact' => array(
'phone' => '2122899617',
'formattedPhone' => '(212) 289-9617'
),
'location' => array
(
'address' => '26 E 125th St',
'crossStreet' => 'btw Madison & 5th Ave',
'lat' => '40.805853703834',
'lng' => '-73.941053819056',
'distance' => '53',
'postalCode' => '10035',
'cc' => 'US',
'city' => 'New York',
'state' => 'NY',
'country' => 'United States'
),
'categories' => Array
(
'id' => '4bf58dd8d48988d101951735',
'name' => 'Thrift / Vintage Store',
'pluralName' => 'Thrift / Vintage Stores',
'shortName' => 'Thrift / Vintage',
'icon' => array
(
'prefix' => 'https://ss1.4sqi.net/img/categories_v2/shops/default_',
'suffix' => '.png'
),
'primary' => '1',
),
'verified' => '',
'restricted' => '1',
'stats' => array
(
'checkinsCount' => '71',
'usersCount' => '46',
'tipCount' => '3'
),
'specials' => array
(
'count' => '0',
'items' => Array()
),
'hereNow' => array
(
'count' => '0',
'groups' => Array()
),
'referralId' => 'v-1393405742'
);
class Venue
{
/**
* @ODM\Id(strategy="AUTO")
*/
protected $id;
/**
* @ODM\EmbedMany(targetDocument="Trist\Bundle\CommonBundle\Document\Venue\VenueCategory")
*/
protected $categories;
/**
* @ODM\EmbedOne(targetDocument="Trist\Bundle\CommonBundle\Document\Venue\VenueContact")
*/
protected $contact;
/**
* @ODM\String
*/
protected $fourSquareVenueId;
/**
* @ODM\EmbedOne(targetDocument="Trist\Bundle\CommonBundle\Document\Venue\VenueLocation")
*/
protected $location;
/**
* @ODM\String
*/
protected $name;
/**
* @ODM\EmbedOne(targetDocument="Trist\Bundle\CommonBundle\Document\Venue\VenueStatistics")
*/
protected $statistics;
}
$obj = (Venue)$arr;
print_r($obj);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 5.4.25 0.003 0.060 18.75 5.4.24 0.007 0.050 18.94 5.4.23 0.007 0.063 18.85 5.4.22 0.013 0.047 18.71 5.4.21 0.007 0.077 18.93 5.4.20 0.003 0.060 18.91 5.4.19 0.003 0.057 18.88 5.4.18 0.010 0.050 18.90 5.4.17 0.003 0.080 18.74 5.4.16 0.023 0.040 18.96 5.4.15 0.013 0.073 18.89 5.4.14 0.013 0.043 16.44 5.4.13 0.017 0.037 16.55 5.4.12 0.020 0.047 16.53 5.4.11 0.007 0.060 16.47 5.4.10 0.003 0.073 16.33 5.4.9 0.020 0.037 16.47 5.4.8 0.013 0.040 16.38 5.4.7 0.013 0.043 16.46 5.4.6 0.023 0.033 16.31 5.4.5 0.007 0.050 16.38 5.4.4 0.017 0.040 16.31 5.4.3 0.010 0.057 16.47 5.4.2 0.013 0.040 16.42 5.4.1 0.013 0.057 16.30 5.4.0 0.007 0.047 15.99 5.3.28 0.007 0.050 14.69 5.3.27 0.013 0.073 14.63 5.3.26 0.010 0.050 14.44 5.3.25 0.010 0.047 14.61 5.3.24 0.007 0.053 14.69 5.3.23 0.007 0.050 14.69 5.3.22 0.007 0.050 14.77 5.3.21 0.013 0.050 14.50 5.3.20 0.000 0.063 14.57 5.3.19 0.010 0.050 14.79 5.3.18 0.020 0.043 14.55 5.3.17 0.000 0.053 14.55 5.3.16 0.003 0.053 14.66 5.3.15 0.003 0.060 14.66 5.3.14 0.000 0.060 14.53 5.3.13 0.010 0.053 14.52 5.3.12 0.010 0.050 14.63 5.3.11 0.007 0.063 14.61 5.3.10 0.000 0.060 14.14 5.3.9 0.003 0.050 14.11 5.3.8 0.013 0.043 14.24 5.3.7 0.020 0.037 14.18 5.3.6 0.013 0.043 13.98 5.3.5 0.007 0.050 14.02 5.3.4 0.007 0.053 14.04 5.3.3 0.007 0.047 13.97 5.3.2 0.003 0.060 13.77 5.3.1 0.017 0.037 13.73 5.3.0 0.010 0.070 13.82
preferences:dark mode live preview
145.06 ms | 1398 KiB | 7 Q