3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = json_decode(json_encode([ "appraisalData"=> [ "type"=> "boolean", "description"=> "Valuation data for this product in different conditions" ], "asstNum"=> [ "type"=> "boolean", "description"=> "The assortment number of this product." ], "briefReleaseDesc"=> [ "type"=> "boolean", "description"=> "A brief description of the sku's release history." ], "collectionItems"=> "/api/schema/collect/output.json", "comment"=> [ "type"=> "boolean", "description"=> "Editorial comment for this sku" ], "dateAdded"=> [ "type"=> "boolean", "description"=> "The date this sku was added to the database (timestamp)" ], "description"=> [ "type"=> "boolean", "description"=> "The copy from the packaging" ], "detailsUrl"=> [ "type"=> "boolean", "description"=> "The URL of the details page for this sku" ], "formattedUpc"=> [ "type"=> "boolean", "description"=> "UPC code, with any appropriate hyphens added.", "maxLength"=> 16 ], "fullName"=> [ "type"=> "boolean", "description"=> "A concatenation of the name of the sku, and its variant descriptor" ], "gallery"=> [ "type"=> "object", "description"=> "Choose the photo information you want to get back. Only photos that have been reviewed will be returned.", "additionalProperties"=> false, "properties"=> [ '$ref'=>"/api/schema/photos/output.json" ] ], "groups"=> [ "type"=> "boolean", "description"=> "A list of the groups for this product. Each group contains a list of part ids and the number of times each part appears in that group. For the parts themselves, include 'parts'" ], "inWishlist"=> [ "type"=> "boolean", "description"=> "Returns true if this sku is in the wishlist of the logged-in user, false otherwise." ], "isReleased"=> [ "type"=> "boolean", "description"=> "True if at least one of the release is not upcoming." ], "itemNum"=> [ "type"=> "boolean", "description"=> "Item number of this sku." ], "limited"=> [ "type"=> "boolean", "description"=> "The number of items this sku was limited to" ], "manufacturer"=> [ "type"=> "boolean", "description"=> "The manufacturer of this sku" ], "modifyUrl"=> [ "type"=> "boolean", "description"=> "The URL of the modiy page for this sku" ], "mods"=> [ "type"=> [ "number", "boolean" ], "description"=> "The uid of a shmax user. If this user has any submissions pending for this sku, then information detailing his changes will be returned" ], "name"=> [ "type"=> "boolean", "description"=> "The name of the sku" ], "nameSort"=> [ "type"=> "boolean", "description"=> "The internal string used when sorting by name. Not to be exposed to user." ], "numCollected"=> [ "type"=> "boolean", "description"=> "The number of times this product appears in the collections of shmax users" ], "package"=> [ "type"=> "boolean", "description"=> "The pacakaging this sku came in." ], "parts"=> [ "description"=>"Specify the part information you'd like to get back.", "type"=>"object", "properties"=> [ '$ref'=> "/api/schema/parts/output.json" ] ], "photoBack"=> [ "type"=>"object", "description"=>"Information about the back photo", "properties"=>[ '$ref'=> "/api/schema/photos/output.json" ] ], "photoFront"=> [ "type"=>"object", "description"=>"Information about the front photo", "properties"=>[ '$ref'=> "/api/schema/photos/output.json" ] ], "productId"=> [ "type"=> "boolean", "description"=> "The branding product prefix number, if any. Common with Japanese toys." ], "productIdClean"=> [ "type"=> "boolean", "description"=> "The internal, minimized, sort-friendly version of the product id. Not to be exposed to user." ], "releaseDateKnown"=> [ "type"=> "boolean", "description"=> "True if at least one of the release dates is fully resolved (ie. has year, month and date filled-in)" ], "releases"=> [ '$ref'=> "/api/schema/releases/output.json" ], "relevance"=> [ "type"=> "boolean", "description"=> "A score when doing a full text search." ], "skuId"=> [ "type"=> "boolean", "description"=> "Unique numeric identifier for the sku." ], "skutoylines" => [ "type" => ["object","boolean"], "description" => "Specify the proeprties of each skutoyline you'd like to get back (or false for nothing)", "properties"=>[ '$ref'=>"/api/schema/skutoylines/output.json" ] ], "status"=> [ "type"=> "boolean", "description"=> "Whether the sku is live on the site, or still waiting for a reviewer to approve its creation." ], "stores"=> [ "type"=> "boolean", "description"=> "A list of ids of the stores this product is exclusive to." ], "submitter"=> [ '$ref'=> "/api/schema/users/output.json" ], "upc"=> [ "type"=> "boolean", "description"=> "Universal Product code of this sku" ], "values"=> [ "type"=> "boolean", "description"=> "Appraisal data for this sku." ], "variantDesc"=> [ "type"=> "boolean", "description"=> "A concatenation of the name of the sku, and its variant descriptor" ], "variantDesc"=> [ "type"=> "boolean", "description"=> "Variant descriptor" ], "variantOf"=> [ "type"=> "boolean", "description"=> "Id of the sku that this sku is a variant of" ], "version"=> [ "type"=> "boolean", "description"=> "An integer version. Incremented each time the sku is updated." ], "vitals"=> [ "type"=> "boolean", "description"=> "The dynamically-generated search keywords for this sku. For debugging only." ], "reissueOf"=>[ "description"=>"Specify the information you will get back for the sku that this sku is a reissue of", "properties"=>[ '$ref'=>"/api/schema/skus/output.json" ] ], "reissues"=>[ "description"=>"Specify the information you will get back for the skus that reissues of this sku", "properties"=>[ '$ref'=>"/api/schema/skus/output.json" ] ], "variantOf"=>[ "description"=>"Specify the information you will get back for the sku that this sku is a variant of", "properties"=>[ '$ref'=>"/api/schema/skus/output.json" ] ], "variants"=>[ "description"=>"Specify the information you will get back for the skus that variants of this sku", "properties"=>[ '$ref'=>"/api/schema/skus/output.json" ] ] ]), false); var_export($r);

Abusive script

This script was stopped while abusing our resources

Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
(object) array( 'appraisalData' => (object) array( 'type' => 'boolean', 'description' => 'Valuation data for this product in different conditions', ), 'asstNum' => (object) array( 'type' => 'boolean', 'description' => 'The assortment number of this product.', ), 'briefReleaseDesc' => (object) array( 'type' => 'boolean', 'description' => 'A brief description of the sku\'s release history.', ), 'collectionItems' => '/api/schema/collect/output.json', 'comment' => (object) array( 'type' => 'boolean', 'description' => 'Editorial comment for this sku', ), 'dateAdded' => (object) array( 'type' => 'boolean', 'description' => 'The date this sku was added to the database (timestamp)', ), 'description' => (object) array( 'type' => 'boolean', 'description' => 'The copy from the packaging', ), 'detailsUrl' => (object) array( 'type' => 'boolean', 'description' => 'The URL of the details page for this sku', ), 'formattedUpc' => (object) array( 'type' => 'boolean', 'description' => 'UPC code, with any appropriate hyphens added.', 'maxLength' => 16, ), 'fullName' => (object) array( 'type' => 'boolean', 'description' => 'A concatenation of the name of the sku, and its variant descriptor', ), 'gallery' => (object) array( 'type' => 'object', 'description' => 'Choose the photo information you want to get back. Only photos that have been reviewed will be returned.', 'additionalProperties' => false, 'properties' => (object) array( '$ref' => '/api/schema/photos/output.json', ), ), 'groups' => (object) array( 'type' => 'boolean', 'description' => 'A list of the groups for this product. Each group contains a list of part ids and the number of times each part appears in that group. For the parts themselves, include \'parts\'', ), 'inWishlist' => (object) array( 'type' => 'boolean', 'description' => 'Returns true if this sku is in the wishlist of the logged-in user, false otherwise.', ), 'isReleased' => (object) array( 'type' => 'boolean', 'description' => 'True if at least one of the release is not upcoming.', ), 'itemNum' => (object) array( 'type' => 'boolean', 'description' => 'Item number of this sku.', ), 'limited' => (object) array( 'type' => 'boolean', 'description' => 'The number of items this sku was limited to', ), 'manufacturer' => (object) array( 'type' => 'boolean', 'description' => 'The manufacturer of this sku', ), 'modifyUrl' => (object) array( 'type' => 'boolean', 'description' => 'The URL of the modiy page for this sku', ), 'mods' => (object) array( 'type' => array ( 0 => 'number', 1 => 'boolean', ), 'description' => 'The uid of a shmax user. If this user has any submissions pending for this sku, then information detailing his changes will be returned', ), 'name' => (object) array( 'type' => 'boolean', 'description' => 'The name of the sku', ), 'nameSort' => (object) array( 'type' => 'boolean', 'description' => 'The internal string used when sorting by name. Not to be exposed to user.', ), 'numCollected' => (object) array( 'type' => 'boolean', 'description' => 'The number of times this product appears in the collections of shmax users', ), 'package' => (object) array( 'type' => 'boolean', 'description' => 'The pacakaging this sku came in.', ), 'parts' => (object) array( 'description' => 'Specify the part information you\'d like to get back.', 'type' => 'object', 'properties' => (object) array( '$ref' => '/api/schema/parts/output.json', ), ), 'photoBack' => (object) array( 'type' => 'object', 'description' => 'Information about the back photo', 'properties' => (object) array( '$ref' => '/api/schema/photos/output.json', ), ), 'photoFront' => (object) array( 'type' => 'object', 'description' => 'Information about the front photo', 'properties' => (object) array( '$ref' => '/api/schema/photos/output.json', ), ), 'productId' => (object) array( 'type' => 'boolean', 'description' => 'The branding product prefix number, if any. Common with Japanese toys.', ), 'productIdClean' => (object) array( 'type' => 'boolean', 'description' => 'The internal, minimized, sort-friendly version of the product id. Not to be exposed to user.', ), 'releaseDateKnown' => (object) array( 'type' => 'boolean', 'description' => 'True if at least one of the release dates is fully resolved (ie. has year, month and date filled-in)', ), 'releases' => (object) array( '$ref' => '/api/schema/releases/output.json', ), 'relevance' => (object) array( 'type' => 'boolean', 'description' => 'A score when doing a full text search.', ), 'skuId' => (object) array( 'type' => 'boolean', 'description' => 'Unique numeric identifier for the sku.', ), 'skutoylines' => (object) array( 'type' => array ( 0 => 'object', 1 => 'boolean', ), 'description' => 'Specify the proeprties of each skutoyline you\'d like to get back (or false for nothing)', 'properties' => (object) array( '$ref' => '/api/schema/skutoylines/output.json', ), ), 'status' => (object) array( 'type' => 'boolean', 'description' => 'Whether the sku is live on the site, or still waiting for a reviewer to approve its creation.', ), 'stores' => (object) array( 'type' => 'boolean', 'description' => 'A list of ids of the stores this product is exclusive to.', ), 'submitter' => (object) array( '$ref' => '/api/schema/users/output.json', ), 'upc' => (object) array( 'type' => 'boolean', 'description' => 'Universal Product code of this sku', ), 'values' => (object) array( 'type' => 'boolean', 'description' => 'Appraisal data for this sku.', ), 'variantDesc' => (object) array( 'type' => 'boolean', 'description' => 'Variant descriptor', ), 'variantOf' => (object) array( 'description' => 'Specify the information you will get back for the sku that this sku is a variant of', 'properties' => (object) array( '$ref' => '/api/schema/skus/output.json', ), ), 'version' => (object) array( 'type' => 'boolean', 'description' => 'An integer version. Incremented each time the sku is updated.', ), 'vitals' => (object) array( 'type' => 'boolean', 'description' => 'The dynamically-generated search keywords for this sku. For debugging only.', ), 'reissueOf' => (object) array( 'description' => 'Specify the information you will get back for the sku that this sku is a reissue of', 'properties' => (object) array( '$ref' => '/api/schema/skus/output.json', ), ), 'reissues' => (object) array( 'description' => 'Specify the information you will get back for the skus that reissues of this sku', 'properties' => (object) array( '$ref' => '/api/schema/skus/output.json', ), ), 'variants' => (object) array( 'description' => 'Specify the information you will get back for the skus that variants of this sku', 'properties' => (object) array( '$ref' => '/api/schema/skus/output.json', ), ), )
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33
stdClass::__set_state(array( 'appraisalData' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'Valuation data for this product in different conditions', )), 'asstNum' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The assortment number of this product.', )), 'briefReleaseDesc' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'A brief description of the sku\'s release history.', )), 'collectionItems' => '/api/schema/collect/output.json', 'comment' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'Editorial comment for this sku', )), 'dateAdded' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The date this sku was added to the database (timestamp)', )), 'description' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The copy from the packaging', )), 'detailsUrl' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The URL of the details page for this sku', )), 'formattedUpc' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'UPC code, with any appropriate hyphens added.', 'maxLength' => 16, )), 'fullName' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'A concatenation of the name of the sku, and its variant descriptor', )), 'gallery' => stdClass::__set_state(array( 'type' => 'object', 'description' => 'Choose the photo information you want to get back. Only photos that have been reviewed will be returned.', 'additionalProperties' => false, 'properties' => stdClass::__set_state(array( '$ref' => '/api/schema/photos/output.json', )), )), 'groups' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'A list of the groups for this product. Each group contains a list of part ids and the number of times each part appears in that group. For the parts themselves, include \'parts\'', )), 'inWishlist' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'Returns true if this sku is in the wishlist of the logged-in user, false otherwise.', )), 'isReleased' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'True if at least one of the release is not upcoming.', )), 'itemNum' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'Item number of this sku.', )), 'limited' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The number of items this sku was limited to', )), 'manufacturer' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The manufacturer of this sku', )), 'modifyUrl' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The URL of the modiy page for this sku', )), 'mods' => stdClass::__set_state(array( 'type' => array ( 0 => 'number', 1 => 'boolean', ), 'description' => 'The uid of a shmax user. If this user has any submissions pending for this sku, then information detailing his changes will be returned', )), 'name' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The name of the sku', )), 'nameSort' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The internal string used when sorting by name. Not to be exposed to user.', )), 'numCollected' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The number of times this product appears in the collections of shmax users', )), 'package' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The pacakaging this sku came in.', )), 'parts' => stdClass::__set_state(array( 'description' => 'Specify the part information you\'d like to get back.', 'type' => 'object', 'properties' => stdClass::__set_state(array( '$ref' => '/api/schema/parts/output.json', )), )), 'photoBack' => stdClass::__set_state(array( 'type' => 'object', 'description' => 'Information about the back photo', 'properties' => stdClass::__set_state(array( '$ref' => '/api/schema/photos/output.json', )), )), 'photoFront' => stdClass::__set_state(array( 'type' => 'object', 'description' => 'Information about the front photo', 'properties' => stdClass::__set_state(array( '$ref' => '/api/schema/photos/output.json', )), )), 'productId' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The branding product prefix number, if any. Common with Japanese toys.', )), 'productIdClean' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The internal, minimized, sort-friendly version of the product id. Not to be exposed to user.', )), 'releaseDateKnown' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'True if at least one of the release dates is fully resolved (ie. has year, month and date filled-in)', )), 'releases' => stdClass::__set_state(array( '$ref' => '/api/schema/releases/output.json', )), 'relevance' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'A score when doing a full text search.', )), 'skuId' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'Unique numeric identifier for the sku.', )), 'skutoylines' => stdClass::__set_state(array( 'type' => array ( 0 => 'object', 1 => 'boolean', ), 'description' => 'Specify the proeprties of each skutoyline you\'d like to get back (or false for nothing)', 'properties' => stdClass::__set_state(array( '$ref' => '/api/schema/skutoylines/output.json', )), )), 'status' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'Whether the sku is live on the site, or still waiting for a reviewer to approve its creation.', )), 'stores' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'A list of ids of the stores this product is exclusive to.', )), 'submitter' => stdClass::__set_state(array( '$ref' => '/api/schema/users/output.json', )), 'upc' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'Universal Product code of this sku', )), 'values' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'Appraisal data for this sku.', )), 'variantDesc' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'Variant descriptor', )), 'variantOf' => stdClass::__set_state(array( 'description' => 'Specify the information you will get back for the sku that this sku is a variant of', 'properties' => stdClass::__set_state(array( '$ref' => '/api/schema/skus/output.json', )), )), 'version' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'An integer version. Incremented each time the sku is updated.', )), 'vitals' => stdClass::__set_state(array( 'type' => 'boolean', 'description' => 'The dynamically-generated search keywords for this sku. For debugging only.', )), 'reissueOf' => stdClass::__set_state(array( 'description' => 'Specify the information you will get back for the sku that this sku is a reissue of', 'properties' => stdClass::__set_state(array( '$ref' => '/api/schema/skus/output.json', )), )), 'reissues' => stdClass::__set_state(array( 'description' => 'Specify the information you will get back for the skus that reissues of this sku', 'properties' => stdClass::__set_state(array( '$ref' => '/api/schema/skus/output.json', )), )), 'variants' => stdClass::__set_state(array( 'description' => 'Specify the information you will get back for the skus that variants of this sku', 'properties' => stdClass::__set_state(array( '$ref' => '/api/schema/skus/output.json', )), )), ))

preferences:
106.47 ms | 447 KiB | 5 Q