3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('COURSE_PORTAL_URL', "https://learn.kognito.com/auth"); $pattern = '/https?:\/\/learn[.]kognito[.]com\/auth/'; $replacement = COURSE_PORTAL_URL; $courseData['auth_url'] = preg_replace($pattern, $replacement, $inputURL, 1); echo $courseData['auth_url'] . "?k=" . $cookie_id;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $inputURL in /in/2WBJt on line 5 Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /in/2WBJt on line 5 Warning: Undefined variable $cookie_id in /in/2WBJt on line 6 ?k=

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