3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $implicitConfig = [ 'READ_OWN' => [ 'READ', 'WRITE_OWN', 'WRITE', 'MANAGE_OWN', 'MANAGE' ], 'READ' => [ 'WRITE', 'MANAGE' ], 'WRITE_OWN' => [ 'WRITE', 'MANAGE_OWN', 'MANAGE' ], 'WRITE' => [ 'MANAGE' ], 'MANAGE_OWN' => [ 'MANAGE' ], 'MANAGE' => [] ]; echo implode('|', array_keys($implicitConfig));
Output for 5.6.0 - 5.6.38, hhvm-3.15.4, 7.0.0 - 7.3.1
READ_OWN|READ|WRITE_OWN|WRITE|MANAGE_OWN|MANAGE