3v4l.org

run code in 300+ PHP versions simultaneously
<?php print("Broken\n"); $paginate = [ 'limit' => 25 ]; print('Before: ' . print_r($paginate, true)); $paginate = [ 'contain' => [ 'Categories', 'Images' ] ]; print('After: ' . print_r($paginate, true)); print("Fixed\n"); $paginate = [ 'limit' => 25 ]; $paginate['contain'] = [ 'Categories', 'Images' ]; print('Fixed: ' . print_r($paginate, true));
Output for git.master, git.master_jit, rfc.property-hooks
Broken Before: Array ( [limit] => 25 ) After: Array ( [contain] => Array ( [0] => Categories [1] => Images ) ) Fixed Fixed: Array ( [limit] => 25 [contain] => Array ( [0] => Categories [1] => Images ) )

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:
91 ms | 401 KiB | 8 Q