3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo count([ 'origin_id' => [ 'type' => 'string', 'options' => [ 'length' => 32, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => false], 'merge' => ['display' => true], ] ] ], 'phone' => [ 'type' => 'string', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], 'fax' => [ 'type' => 'string', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], 'sic' => [ 'type' => 'string', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], 'annual_revenue' => [ 'type' => 'money', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Number_of_Screens__c 'number_of_screens' => [ 'type' => 'integer', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Contract_Expiry_Month__c 'contract_expiry_month' => [ 'type' => 'integer', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Contract_Expiry_Year__c 'contract_expiry_year' => [ 'type' => 'integer', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Company_Rank__c 'company_rank' => [ 'type' => 'integer', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Trading_As__c 'trading_as' => [ 'type' => 'string', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Number_of_Invoices__c 'number_of_invoices' => [ 'type' => 'integer', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Total_Opportunity__c 'total_opportunity' => [ 'type' => 'integer', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Closed_Won_Opportunity_Indicator__c 'closed_won_opportunity_ind' => [ 'type' => 'integer', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // ABN_ACN__c 'abn_acn' => [ 'type' => 'string', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Total_Fleet_Number_of_Vehicles__c 'total_fleet_vehicles' => [ 'type' => 'integer', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Other_Site_Address__c 'other_site_address' => [ 'type' => 'string', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Dealer_Account__c 'dealer_account' => [ 'type' => 'string', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // MPS_TCP_Fit__c 'msp_tcp_fit' => [ 'type' => 'boolean', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // IT_Solutions_TCP_Fit__c 'it_solutions_tcp_fit' => [ 'type' => 'boolean', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Fleet_TCP_Fit__c 'fleet_tcp_fit' => [ 'type' => 'boolean', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Telesales_TCP_Fit__c 'telesales_tcp_fit' => [ 'type' => 'boolean', 'options' => [ 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Current_Supplier__c 'current_supplier' => [ 'type' => 'string', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // No_of_Sites__c 'no_of_sites' => [ 'type' => 'integer', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // No_of_Vehicles__c 'no_of_vehicles' => [ 'type' => 'integer', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], // Existing_IT_Projects__c 'existing_it_projects' => [ 'type' => 'string', 'options' => [ 'length' => 255, 'oro_options' => [ 'extend' => ['owner' => ExtendScope::OWNER_CUSTOM], 'datagrid' => ['is_visible' => true], 'merge' => ['display' => true], ] ] ], ]);
based on Z1LDK
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Class 'ExtendScope' not found in /in/MsLfh:9 Stack trace: #0 {main} thrown in /in/MsLfh on line 9
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: Class undefined: ExtendScope in /in/MsLfh on line 9
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.0 - 5.6.28
Fatal error: Class 'ExtendScope' not found in /in/MsLfh on line 9
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/MsLfh on line 3
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 '[', expecting ')' in /in/MsLfh on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/MsLfh on line 3
Process exited with code 255.