Dateiansicht:
Datei: | Projekte -> PHP73to74 -> testfile_nothing2do.php |
---|---|
md5: | c33cde67ffb33295e7bcf49ef10d68d7 |
sha1: | 7d4a251fa88e84e7b1f11ccd43d88aa7aaee304f |
Download-Link: | Download |
- <?php
- $bar="Hallo";
- $i=3;
- $tok=1;
- $foo = $bar[1];
- $foo = $bar[ 1 ];
- $foo = $bar[ 1+3 ];
- $foo = $bar[ $tok + 3 ]; $foo = $bar[$i];
- class mtest {
- var $t='hallo';
- function __construct($value) {
- $this->t = $value;
- }
- function get() {
- return $this->t;
- }
- }
- $t=new mtest('Hallo Welt');
- echo $t->{'t'};