3v4l.org

run code in 300+ PHP versions simultaneously
<?php $templates = array( 'family' => array( 'product.category_overview' => 'Family Overview', 'product.category_overview_slideshow' => 'Family Overview W/ Slideshow', 'product.category_overview' => 'Family Overview No Parallax' ), 'category' => array( 'product.category_detail' => 'Category Overview' ), 'group' => array( 'product.group' => 'Group w/ 1 Line Art', 'product.group_multi' => 'Group w/ 2 Line Art' ), 'product' => array( 'product.detail' => 'Product Detail' ), 'content' => array( 'content.home' => 'Basic Content Home', 'content.about' => 'Basic Content About' ), 'legacy' => array( 'detail' => 'Product Detail' ) ); foreach($templates AS $template) { //$templateSelect = array($template print_r($template); }

preferences:
35.07 ms | 402 KiB | 5 Q