3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mystring = 'Managed WordPress Hosting'; $findme = 'WordPress'; if (str_contains($mystring, $findme)) { echo "The string has been found"; } else { echo "String not found"; }
based on SbcpPR

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch master
The string has been found
Output for branch master_jit
The string has been found

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