3v4l.org

run code in 300+ PHP versions simultaneously
<?php function significant_number($string){ $offset=9; $string=substr($string, $offset); $count=strlen($string); $i=0; while($i < $count){ if(ctype_digit($string[$i])) { break; } $i++; } return $string[$i]; } $udid="086786dc4ae78dbf6a6a9b621b5ae4"; $md5udid=md5sum($udid); $sigNo=significant_number($udid); $testudid=substr($md5udid, 4, sigNo).substr($udid, sigNo, 6); echo $testudid; ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function md5sum() in /in/dEG2L:18 Stack trace: #0 {main} thrown in /in/dEG2L on line 18
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:
37.07 ms | 401 KiB | 8 Q