3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = function($name = null, $email = null){ return "Hello $name, an email was send to $email ..."; }; $user_name = 'User Name'; $user_email = 'user@email.com'; $newMessage = $message($user_name, $user_email); echo $newMessage;
Output for git.master, git.master_jit, rfc.property-hooks
Hello User Name, an email was send to user@email.com ...

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