def len(x):
return x.__len__()
For instance, to evaluate the expression x + y, where x is an instance of a class that has an __add__() method, x.__add__(y) is called.
<input type="text" name="name" value="<?=$_GET['foo']?>" />
<a href="page2.php?id=1">Значение 1</a>
(в данном случае будет передана переменная id)<input type="text" value="<?=GET['id'];?>" />