testing

11 months ago

ketsakda

Code

$name = "shello";
echo $name;

class Test{
  function all(){
    return "hello";
  }
}

(new Test())->all()

Output

shello
=> "hello"
Video course: PHP Package Development