3v4l.org

run code in 300+ PHP versions simultaneously
<?php $part = stristr('my home is my castle','my',true); $part2 = stristr('my home is my castle','my'); echo "This is my: $part \n"; echo "That is my: $part2 \n"; ?>
Output for git.master, git.master_jit, rfc.property-hooks
This is my: That is my: my home is my castle

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.45 ms | 401 KiB | 8 Q