mirror of
https://github.com/php/doc-gtk.git
synced 2026-03-24 17:12:18 +01:00
8 lines
133 B
Plaintext
8 lines
133 B
Plaintext
<?php
|
|
//PHP5: no Ampersand any more
|
|
$a = new GtkLabel();
|
|
$a->set_text('1');
|
|
$b = $a;
|
|
$b->set_text('2');
|
|
echo $a->get_text();//is 2
|
|
?> |