Files
doc-gtk/examples/tutorials/changes/ampersand_php5.phpw
Christian Weiske d1bb6fa448 Tutorial about the differences between PHP-Gtk1 and PHP-Gtk2.
If you find something that's wrong, please tell me.
2005-12-12 11:25:37 +00:00

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
?>