3v4l.org

run code in 300+ PHP versions simultaneously
<?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], ] ] ], ]);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
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 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
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 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 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.1.6, 5.2.0 - 5.2.17, 5.3.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.3.11, 4.4.0 - 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.

preferences:
199.35 ms | 401 KiB | 313 Q