- substr: documentation ( source)
<?php
$string = "C#maj7";
$qualityVal = "";
if (true) {
$qualityVal .= substr($string, 2);
}
$num = 10;
$num += 10;
class Hello {
public $world = "world";
public function __toString() {
return "Hello!";
}
}
$hello = new Hello();
$world = "world";
?>