compare est une fonction qui a deux arguments et qui renvoie
1 si ses arguments ont des types différents ou
ou si ses arguments sont de même type et sont mis dans l’ordre croissant,
et qui renvoie 0 sinon.
On tape :
On obtient :
On tape :
On obtient :
On tape :
On obtient :
On tape :
On obtient :
On tape :
On obtient :
On tape :
On obtient :
En effet on a : type(3)=DOM_INT=2 et type("a")=DOM_STRING=12