3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'this is a simple string'; echo 'You can also have embedded newlines in strings this way as it is okay to do'; // Outputs: Arnold once said: "I'll be back" echo 'Arnold once said: "I\'ll be back"'; // Outputs: You deleted C:\*.*? echo 'You deleted C:\\*.*?'; // Outputs: You deleted C:\*.*? echo 'You deleted C:\*.*?'; // Outputs: This will not expand: \n a newline echo 'This will not expand: \n a newline'; // Outputs: Variables do not $expand $either echo 'Variables do not $expand $either'; ?>
Output for git.master, git.master_jit, rfc.property-hooks
this is a simple stringYou can also have embedded newlines in strings this way as it is okay to doArnold once said: "I'll be back"You deleted C:\*.*?You deleted C:\*.*?This will not expand: \n a newlineVariables do not $expand $either

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