3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s=1; function password_md5_mess($pass) { $s=1 ; $split=1; md5($split[1]); //calculate MD5 on 2 (16 chars)) part of password return $s; } $password=password_md5_mess('12345'); echo $password; ?>
Output for git.master, git.master_jit
Warning: Trying to access array offset on value of type int in /in/8YYN2 on line 7 Deprecated: md5(): Passing null to parameter #1 ($string) of type string is deprecated in /in/8YYN2 on line 7 1
Output for rfc.property-hooks
Warning: Trying to access array offset on int in /in/8YYN2 on line 7 Deprecated: md5(): Passing null to parameter #1 ($string) of type string is deprecated in /in/8YYN2 on line 7 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:
45.48 ms | 401 KiB | 8 Q