3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $aMeters = array(); $aMeters[] = array(); $aMeters[0] += array('meter_maintenance_code' => 'MQ'); $aMeters[0] += array( 'meter_number' => 'ALL', 'esp_rate_code' => $this->aCustoms['esp_rate_code'] ); var_dump($aMeters);
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Using $this when not in object context in /in/oV75G:7 Stack trace: #0 {main} thrown in /in/oV75G on line 7
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: $this is null in /in/oV75G on line 7
Process exited with code 255.
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.6.28
Fatal error: Using $this when not in object context in /in/oV75G on line 7
Process exited with code 255.
Output for 4.3.0 - 4.4.9
Notice: Undefined variable: this in /in/oV75G on line 7 array(1) { [0]=> array(3) { ["meter_maintenance_code"]=> string(2) "MQ" ["meter_number"]=> string(3) "ALL" ["esp_rate_code"]=> NULL } }