My name is:
Create new Folder
Show your folders
Check PHP version
php -version
EXECUTED bash:
PHP 8.1.2 (cli) (built: Apr 7 2022 17:46:26) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies
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;
EXECUTED php:
Apple
Show your folders
ping -q -c 1 softreck.com ; echo $?