3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sms = "You make me go crazy, crazy in love for you! :* made some changes to the program so testing it on u :P <3 u baby!!!"; echo strlen($sms) . "\n"; while(strlen($sms) > 160) { echo "Here\n"; $short = substr($sms,0,159); echo "Send SMS Long: " . strlen($short) . "\n" ; $sms = str_replace($short,'',$sms); echo $short . "\n"; } if(strlen($sms) > 0) { echo "Send SMS Short: " . strlen($sms) . "\n"; echo $sms . "\n"; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
115 Send SMS Short: 115 You make me go crazy, crazy in love for you! :* made some changes to the program so testing it on u :P <3 u baby!!!

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