3v4l.org

run code in 300+ PHP versions simultaneously
// aghi ko ali forget // // maile print garna khojeko chai, <li class='hello'>, but see // first ma la // you know yesto garna paudaina, $string = 'hello'.'world', thaha cha hai?, correct or // hooooooo // same kura tala bhayo // but we want to print <li class='hello'> // so tehi bhayera, to make it easy, we can write using double quotes (") <?php //echo '<li class='hello'>'; ?> // this would be wrong, because ' le start garyo ani ' le nai end garyo // but " ko case ma agadi " cha ani laasst ma matra " cha, ty bich ma ' corect corrrect, didi le yestai hernu bhaneko // try to realize things, like kun le quote start gareko is very important, ok ask "'\"\"' "lfkjsfjss" /ax/ this is valid "'""'"// this is invalid, hera hamilai tyo mix garna ko lagi, """", yesto aune bittikai bigryo, matlab " le start garyo ani " le end garyo "" yaha bicha ma kehi ni chaina "", this is nvalid syntax "" . "" // this is valid syntax because concat operator // so direct mix and match garna mildian, same quotes chai " '''''''''' " // yo chai valid cha, because start ma " cha ani ekdam last ma " cha // so veryv er importatnwhat you start with and end with // aba timro quesstion if I want to echo "'"'" I have to <?php echo '"' . "'" . '"' . "'" . '"'; ?> <-- this is our output maile vane ko tyo milyo ki nai ?? ae mi"l
Output for git.master, git.master_jit, rfc.property-hooks
// aghi ko ali forget // // maile print garna khojeko chai, <li class='hello'>, but see // first ma la // you know yesto garna paudaina, $string = 'hello'.'world', thaha cha hai?, correct or // hooooooo // same kura tala bhayo // but we want to print <li class='hello'> // so tehi bhayera, to make it easy, we can write using double quotes (") // this would be wrong, because ' le start garyo ani ' le nai end garyo // but " ko case ma agadi " cha ani laasst ma matra " cha, ty bich ma ' corect corrrect, didi le yestai hernu bhaneko // try to realize things, like kun le quote start gareko is very important, ok ask "'\"\"' "lfkjsfjss" /ax/ this is valid "'""'"// this is invalid, hera hamilai tyo mix garna ko lagi, """", yesto aune bittikai bigryo, matlab " le start garyo ani " le end garyo "" yaha bicha ma kehi ni chaina "", this is nvalid syntax "" . "" // this is valid syntax because concat operator // so direct mix and match garna mildian, same quotes chai " '''''''''' " // yo chai valid cha, because start ma " cha ani ekdam last ma " cha // so veryv er importatnwhat you start with and end with // aba timro quesstion if I want to echo "'"'" I have to "'"'" <-- this is our output maile vane ko tyo milyo ki nai ?? ae mi"l

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.37 ms | 403 KiB | 8 Q