Follow Star

php Strings

1
    $a = "Hallo \"knows1\" and";
1. Output
1
    Hallo "knows1" and .
1
    $b = 'Hallo\'knows1\' and';
2. Output
1
  Hallo'knows1' and .
1
    $c = "echo \$abc \" \$a + \$b\"  ";
3. Output
1
  echo $abc " $a + $b" .
1
    $d = "This ends with a line return\n";
4. Output
1
  This ends with a line return .
1
    $f = "var:\\www\\php\\index.php";
5. Output
1
  var:\www\php\index.php

Tags:

Categories:

Updated:

Comments