In ogr_fd_create, set the destructor to le_FeatureDefnRef. This avoids a call to destroy the object (crash) where a field definition is created $hFeatureDef = ogr_fd_create('my_feature_def'); and the used later on in the script.
In ogr_fd_create, set the destructor to le_FeatureDefnRef.
This avoids a call to destroy the object (crash) where a field definition
is created $hFeatureDef = ogr_fd_create('my_feature_def'); and the used
later on in the script.

faegi/php_ogr,ejn/php_ogr,ejn/php_ogr,faegi/php_ogr,ejn/php_ogr,faegi/php_ogr,faegi/php_ogr