[mapserver-users] php mapscript object destruction

Alan Boudreault aboudreault at mapgears.com
Thu Jan 22 06:14:21 PST 2009


No object needs to be destructed explicitly via the free() method. PHP
has a garbage collector and it its job to delete php objects.

Regards,
Alan

Balázs Bámer wrote:
> Hi All,
>
> What MapScript objects need to be destructed explicitely under PHP? I
> mean ImageObj has a free() method, MapObj hasn't any.
> Can I leave it as is?
> What happens if I leave an object with free() method?
> Is the order important in case of for example classes, layers, styles
> etc which are "encapsulated" one in another?
>
> thanx in advance,
> best regards: Balázs Bámer
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   


-- 
Alan Boudreault
Mapgears
http://www.mapgears.com




More information about the MapServer-users mailing list