3v4l.org

run code in 300+ PHP versions simultaneously
<?php $permissions = array( 'view_entry' => array( 'users' => array( 'Jean Ann Kozlowski' => true ), 'groups' => array( ), 'inherit' => true ), 'edit_entry' => array( 'users' => array( 'Jean Ann Kozlowski' => true ), 'groups' => array( ), 'inherit' => true ), '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 git.master, git.master_jit, rfc.property-hooks
a:3:{s:5:"users";a:1:{s:18:"Jean Ann Kozlowski";b:1;}s:6:"groups";a:0:{}s:7:"inherit";b:1;} a:3:{s:5:"users";a:1:{s:18:"Jean Ann Kozlowski";b:1;}s:6:"groups";a:0:{}s:7:"inherit";b:1;} a:3:{s:5:"users";a:0:{}s:6:"groups";a:0:{}s:7:"inherit";b:0;} a:3:{s:5:"users";a:0:{}s:6:"groups";a:1:{s:1:"*";b:1;}s:7:"inherit";b:1;}

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
47.26 ms | 401 KiB | 8 Q