Re: C# properties vs. accessors RFC

From: Date: Wed, 23 Jan 2013 23:04:36 +0000
Subject: Re: C# properties vs. accessors RFC
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-65135@lists.php.net to get a copy of this message
Hello! 1) not able to vote 2) looked at patch 3) do not understand the patch so i have a question regarding guards... e.g.: guard->in_unset = 1; /* Prevent recursion */ zend_call_method_with_1_params(&object, zobj->ce, &zobj->ce->__unset, ZEND_UNSET_FUNC_NAME, NULL, member); guard->in_unset = 0; /* Prevent recursion */ this code would only prevent nested/parallel access to same accessor but not circular? e.g.: getter -> setter -> null-checker -> null-setter -> getter sorry it this is a dumb question :) cryptocompress

« previous php.internals (#65135) next »