PHP·98 questions

How to work with strings?

Answer
Single quotes: 'text'.
Double quotes: "$var inside".
Heredoc: <<<EOT multi-line EOT;.
Concatenation: $a . $b.
Functions: strlen(), substr(), strpos().
Was this answer helpful?

More questions in this topic

Related questions from other topics