3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php array(2) { [0]=> array(23) { ["ITEM_ID"]=> int(2331) ["ITEM_TYPE_ID"]=> string(1) "1" ["CART_ITEM_ID"]=> string(0) "" ["SAVED_TYPE_ID"]=> string(0) "" ["ITEM_NAME"]=> string(17) "TEST STOCK LEVELS" ["ERROR"]=> string(0) "" ["PROPERTIES"]=> array(1) { [522]=> array(1) { [0]=> string(4) "1122" } } ["PROPERTIES_INFO"]=> array(1) { [522]=> array(12) { ["USAGE_TYPE"]=> string(1) "1" ["CONTROL"]=> string(7) "LISTBOX" ["TYPE"]=> string(1) "1" ["NAME"]=> string(11) "TEST OPTION" ["VALUES"]=> array(1) { [0]=> string(4) "1122" } ["REQUIRED"]=> string(1) "1" ["PARENT_PROPERTY_ID"]=> string(0) "" ["PARENT_VALUE_ID"]=> string(0) "" ["TEXT"]=> array(0) { } ["CONTROL_PRICE"]=> int(0) ["ORDER"]=> string(1) "1" ["QUANTITY_ACTION"]=> string(1) "1" } } ["PROPERTIES_PRICE"]=> float(10) ["PROPERTIES_PERCENTAGE"]=> int(0) ["PROPERTIES_BUYING"]=> int(0) ["PROPERTIES_DISCOUNT"]=> int(0) ["PROPERTIES_MORE"]=> string(1) "0" ["COMPONENTS"]=> array(0) { } ["QUANTITY"]=> int(11) ["TAX_FREE"]=> string(1) "0" ["DISCOUNT"]=> int(1) ["BUYING_PRICE"]=> string(0) "" ["PRICE_EDIT"]=> string(1) "0" ["PRICE"]=> string(5) "10.00" ["CHECK_PRICE"]=> float(20) ["MAX_ITEM_DISCOUNT"]=> float(20) ["CART_PRICE"]=> float(20) } [1]=> array(23) { ["ITEM_ID"]=> int(2331) ["ITEM_TYPE_ID"]=> string(1) "1" ["CART_ITEM_ID"]=> string(0) "" ["SAVED_TYPE_ID"]=> string(0) "" ["ITEM_NAME"]=> string(17) "TEST STOCK LEVELS" ["ERROR"]=> string(0) "" ["PROPERTIES"]=> array(1) { [522]=> array(1) { [0]=> string(4) "1123" } } ["PROPERTIES_INFO"]=> array(1) { [522]=> array(12) { ["USAGE_TYPE"]=> string(1) "1" ["CONTROL"]=> string(7) "LISTBOX" ["TYPE"]=> string(1) "1" ["NAME"]=> string(11) "TEST OPTION" ["VALUES"]=> array(1) { [0]=> string(4) "1123" } ["REQUIRED"]=> string(1) "1" ["PARENT_PROPERTY_ID"]=> string(0) "" ["PARENT_VALUE_ID"]=> string(0) "" ["TEXT"]=> array(0) { } ["CONTROL_PRICE"]=> int(0) ["ORDER"]=> string(1) "1" ["QUANTITY_ACTION"]=> string(1) "1" } } ["PROPERTIES_PRICE"]=> float(20) ["PROPERTIES_PERCENTAGE"]=> int(0) ["PROPERTIES_BUYING"]=> int(0) ["PROPERTIES_DISCOUNT"]=> int(0) ["PROPERTIES_MORE"]=> string(1) "0" ["COMPONENTS"]=> array(0) { } ["QUANTITY"]=> int(5) ["TAX_FREE"]=> string(1) "0" ["DISCOUNT"]=> int(1) ["BUYING_PRICE"]=> string(0) "" ["PRICE_EDIT"]=> string(1) "0" ["PRICE"]=> string(5) "10.00" ["CHECK_PRICE"]=> float(30) ["MAX_ITEM_DISCOUNT"]=> float(30) ["CART_PRICE"]=> float(30) } }
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.27
Parse error: syntax error, unexpected '{' in /in/cSYiI on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '{' in /in/cSYiI on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/cSYiI on line 2
Process exited with code 255.