Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 487 Bytes

in.md

File metadata and controls

49 lines (32 loc) · 487 Bytes

MKDIR

Create new Folder

mkdir TEST

PHP version

Check PHP version

php -version

PHP script

Show global variable

class Fruit {
    public $name;
  
    function __construct($name) {
        $this->name = $name;
    }
    function __toString() {
        return $this->name;
    }
}

$apple = new Fruit("Apple");
echo (string ) $apple;

PING

Show your folders

ping -q -c 1 softreck.com ; echo $?

STOP