3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = explode(",",'sku,_store,_attribute_set,_type,_category,_root_category,_product_websites,color,cost,country_of_manufacture,created_at,custom_design,custom_design_from,custom_design_to,custom_layout_update,deliver_days,deliver_days_budget,description,enable_googlecheckout,extra_charge,extra_charge_budget,format,gallery,gift_message_available,grammatur,ground_price,ground_price_budget,has_options,height,image,image_label,is_imported,manufacturer,media_gallery,meta_description,meta_keyword,meta_title,minimal_price,msrp,msrp_display_actual_price_type,msrp_enabled,name,news_from_date,news_to_date,options_container,page_layout,price,required_options,short_description,small_image,small_image_label,special_from_date,special_price,special_to_date,status,supplier,tax_class_id,thumbnail,thumbnail_label,updated_at,url_key,url_path,visibility,weight,width,qty,min_qty,use_config_min_qty,is_qty_decimal,backorders,use_config_backorders,min_sale_qty,use_config_min_sale_qty,max_sale_qty,use_config_max_sale_qty,is_in_stock,notify_stock_qty,use_config_notify_stock_qty,manage_stock,use_config_manage_stock,stock_status_changed_auto,use_config_qty_increments,qty_increments,use_config_enable_qty_inc,enable_qty_increments,is_decimal_divided,_links_related_sku,_links_related_position,_links_crosssell_sku,_links_crosssell_position,_links_upsell_sku,_links_upsell_position,_associated_sku,_associated_default_qty,_associated_position,_tier_price_website,_tier_price_customer_group,_tier_price_qty,_tier_price_price,_group_price_website,_group_price_customer_group,_group_price_price,_media_attribute_id,_media_image,_media_lable,_media_position,_media_is_disabled'); foreach($arr as $row){ echo "\t\t'{$row}' => null,\n"; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
'sku' => null, '_store' => null, '_attribute_set' => null, '_type' => null, '_category' => null, '_root_category' => null, '_product_websites' => null, 'color' => null, 'cost' => null, 'country_of_manufacture' => null, 'created_at' => null, 'custom_design' => null, 'custom_design_from' => null, 'custom_design_to' => null, 'custom_layout_update' => null, 'deliver_days' => null, 'deliver_days_budget' => null, 'description' => null, 'enable_googlecheckout' => null, 'extra_charge' => null, 'extra_charge_budget' => null, 'format' => null, 'gallery' => null, 'gift_message_available' => null, 'grammatur' => null, 'ground_price' => null, 'ground_price_budget' => null, 'has_options' => null, 'height' => null, 'image' => null, 'image_label' => null, 'is_imported' => null, 'manufacturer' => null, 'media_gallery' => null, 'meta_description' => null, 'meta_keyword' => null, 'meta_title' => null, 'minimal_price' => null, 'msrp' => null, 'msrp_display_actual_price_type' => null, 'msrp_enabled' => null, 'name' => null, 'news_from_date' => null, 'news_to_date' => null, 'options_container' => null, 'page_layout' => null, 'price' => null, 'required_options' => null, 'short_description' => null, 'small_image' => null, 'small_image_label' => null, 'special_from_date' => null, 'special_price' => null, 'special_to_date' => null, 'status' => null, 'supplier' => null, 'tax_class_id' => null, 'thumbnail' => null, 'thumbnail_label' => null, 'updated_at' => null, 'url_key' => null, 'url_path' => null, 'visibility' => null, 'weight' => null, 'width' => null, 'qty' => null, 'min_qty' => null, 'use_config_min_qty' => null, 'is_qty_decimal' => null, 'backorders' => null, 'use_config_backorders' => null, 'min_sale_qty' => null, 'use_config_min_sale_qty' => null, 'max_sale_qty' => null, 'use_config_max_sale_qty' => null, 'is_in_stock' => null, 'notify_stock_qty' => null, 'use_config_notify_stock_qty' => null, 'manage_stock' => null, 'use_config_manage_stock' => null, 'stock_status_changed_auto' => null, 'use_config_qty_increments' => null, 'qty_increments' => null, 'use_config_enable_qty_inc' => null, 'enable_qty_increments' => null, 'is_decimal_divided' => null, '_links_related_sku' => null, '_links_related_position' => null, '_links_crosssell_sku' => null, '_links_crosssell_position' => null, '_links_upsell_sku' => null, '_links_upsell_position' => null, '_associated_sku' => null, '_associated_default_qty' => null, '_associated_position' => null, '_tier_price_website' => null, '_tier_price_customer_group' => null, '_tier_price_qty' => null, '_tier_price_price' => null, '_group_price_website' => null, '_group_price_customer_group' => null, '_group_price_price' => null, '_media_attribute_id' => null, '_media_image' => null, '_media_lable' => null, '_media_position' => null, '_media_is_disabled' => null,