3v4l.org

run code in 500+ PHP versions simultaneously
<?php add_filter('auth_cookie_expiration', function($length, $user_id, $remember) { if (current_user_can('orbit_crm_access')) { return 12 * HOUR_IN_SECONDS; } return $length; }, 10, 3);
Output for git.master_jit, git.master
Fatal error: Uncaught Error: Call to undefined function add_filter() in /in/4LMpj:2 Stack trace: #0 {main} thrown in /in/4LMpj on line 2
Process exited with code 255.

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:
30.02 ms | 772 KiB | 4 Q