3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $start = 1420467000; $end = 1420469400; $realm = 'dplaydk'; $params = array( 'start' => date_create("@$start"), 'end' => date_create("@$end"), 'realm' => $realm, ); var_dump($params - ['end']);
based on 09h8r
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Unsupported operand types in /in/JXVTa:13 Stack trace: #0 {main} thrown in /in/JXVTa on line 13
Process exited with code 255.
Output for 5.4.11 - 5.6.28
Fatal error: Unsupported operand types in /in/JXVTa on line 13
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/JXVTa on line 13
Process exited with code 255.