3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $permissions = array( 'view_entry' => array( 'users' => array( ), 'groups' => array( ), 'inherit' => true ), 'edit_entry' => array( 'users' => array( ), 'groups' => array( 'LCTCS Admins' => true ), 'inherit' => false ), 'edit_perm' => array( 'users' => array( ), 'groups' => array( ), 'inherit' => false ), 'view_page' => array( 'users' => array( ), 'groups' => array( '*' => true ), 'inherit' => true ) ); echo serialize($permissions['view_entry']) . "\n"; echo serialize($permissions['edit_entry'])) . "\n"; echo serialize($permissions['edit_perm'])) . "\n"; echo serialize($permissions['view_page'])) . "\n";
Output for 5.3.0 - 5.4.12
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/Kab75 on line 37
Process exited with code 255.