Hi Rasmus,
I've reproduced it and will take a deeper look a bit later today.
Thanks. Dmitry.
On 01/29/2012 03:06 AM, Rasmus Lerdorf wrote:
Hey Dmitry, could you take a look at this one. I think this is mostly
your code and I am a bit lost in the path manipulation that is going on
here. This is
Hi,
On 01/30/2012 03:52 AM, Stas Malyshev wrote:
Hi!
in zend_vm_execute.h:701 PHP free's the function struct in case of
ZEND_OVERLOADED_FUNCTION. the problem is that in PHP 5.4, the opline
calling
the function hast a pointer to the very same struct in it's
cache_slot. when
this opcode is calle
Ryan McCue wrote:
> For some purposes, you need to be able to reflect files and classes
> without loading them, which I think is a huge gap in the Reflection API.
> That said, a proper ReflectionFile would be welcome, even if it did load
> the file.
Forgot to mention: it is also, as far as I know,
Johannes Schlüter wrote:
> PS. Mind that the example you've given even works on files not included
> by parsing files, whereas internal reflection provides information what
> actually is available from engine point of view ...
The original reason I wrote that class was for a documentation tool, so
Hi,
On Sun, 2012-01-29 at 18:51 -0500, Rasmus Schultz wrote:
> I realized the other day that ReflectionFile is missing from the Reflection
> API.
As is ReflectionNamespace and some others one might think about. In the
end it boils down to the fact that we don't have structures internally
represe
Hi!
in zend_vm_execute.h:701 PHP free's the function struct in case of
ZEND_OVERLOADED_FUNCTION. the problem is that in PHP 5.4, the opline calling
the function hast a pointer to the very same struct in it's cache_slot. when
this opcode is called againg, the cache is used and it crashes.
How t
Dear List,
I realized the other day that ReflectionFile is missing from the Reflection
API.
A search for "ReflectionFile" on Google will reveal a number of
implementations of classes with exactly that name, which suggests users are
missing this - for example:
https://github.com/rmccue/Reflection
in zend_vm_execute.h:701 PHP free's the function struct in case of
ZEND_OVERLOADED_FUNCTION. the problem is that in PHP 5.4, the opline calling
the function hast a pointer to the very same struct in it's cache_slot. when
this opcode is called againg, the cache is used and it crashes.
my suggest