PHP Java bytecode
PHP Compiler
// Call with php -f test.php
error_reporting(E_ALL);
// Class (blueprint) = package => object (instantiated class)
class ParentClass {
// variable = property
// encapsulation
// visible anywhere
public $public = 'Public';
// visible only within the class, and in inherited and parent classes
protected $protected = 'Protected';
// visible only within class
private $private = 'Private';
// function = methode
public function printItem($string) …