View sourcecode

The following files exists in this folder. Click to view.

this_in_class.php

1 lines ASCII Unix (LF)
1
<?php

class Moped {

    static $hej = 1;

    function sayOne() {
        echo $this::$hej;
    }
}

$m = new Moped();
$m->sayOne();