developing php runtime
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2012-01-30 at 12:15 -0500, Rasmus Schultz wrote:
>
>
> Well, my thinking was, in my annotation engine, rather than globally
> registering aliases for fully-qualified annotation-type class-names, I
> would support the use-statement.
>
> This is generally how it works in other languages (s
Hi!
should be reproducible with this simple script:
http://www.google.com";);
Could you check with a recent checkout? Looks like the last patch from
Michael fixed that (at least it works for me).
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext
Hi:
Pierre recently committed a test that just bit me. (see below)
After I run `make test` my personal test.php file was gone in my trunk folder.
Well, nothing lost here, but this wasn't exactly a nice surprise.
Would it be a reasonable change to make the tests execute in a temporary
directory
That's exactly what it's used for.
-Original Message-
From: julienpa...@gmail.com [mailto:julienpa...@gmail.com] On Behalf Of jpauli
Sent: Monday, January 30, 2012 10:27 AM
To: Adi Mutu
Cc: internals@lists.php.net
Subject: Re: [PHP-DEV] zend guard
Quickly reading the source and trying thi
Hi!
Does anyone know what are the official names for the "->" and "=>"
operators? They don't seem to be included in the PHP documentation,
although I would have expected them to reside in the Operators section of
the manual.
=> is not exactly operator, it's part of the array operator syntax (e
Well, my thinking was, in my annotation engine, rather than globally
registering aliases for fully-qualified annotation-type class-names, I
would support the use-statement.
This is generally how it works in other languages (such as C#) that have
built-in support for annotations.
So you'd be able
Quickly reading the source and trying things, I suggest its a guard against
recursion in __get and __set handlers.
This way, code such this one won't infinitly loop :
class Foo {
public function __get($p) {
return $this->$p; // this should lead to a recursion loop
}
}
$f = new Foo
Hello,
Can anybody tell me what this struct is used for ?
I'm new to the internals of php.
Thanks,
A
As I sayed, my patch was not suggusted as fix, Dmitry is write about possible
side effetcs, it was added only to prove that the problem is what we think it
is.
On Monday, January 30, 2012 05:42:11 PM Dmitry Stogov wrote:
> Hi Mike,
>
> I confirm the bug. In case of empty output HTTP headers are
Hi Mike,
I confirm the bug. In case of empty output HTTP headers are sent to
stdout or stderr instead of FastCGI stream.
To reproduce I configured nginx to use PHP FastCGI server on UNIX
socket, then launched (sapi/cgi/php-cgi -b /tmp/fcgi-php5) and performed
several request to empty PHP fil
I Debugged the issue described here by lior.
the problem is :
in php_request_shutdown() we call
sapi_send_headers() after
php_output_deactivate().
at this point,
in main/output.c,
OG(flags) & PHP_OUTPUT_ACTIVATED is false so
php_output_write_unbuffered() calls
ph
On Mon, 2012-01-30 at 09:33 -0500, Rasmus Schultz wrote:
> From my point of view, the concept of a "file" has become semantically more
> important, and increasingly relevant to Reflection, with the latest PHP
> features added in the past couple of years.
>
> I can see what you mean though - it's p
> On Wed, 25 Jan 2012 09:13:43 -0800, Stas Malyshev wrote:
>
> > Hi!
> >
> >> We've just found one more critical problem in 5.4.
> >>
> >> Apache/PHP crashes in case of error on startup, when
> >> display_startup_errors=1. It's probably related to new output API.
> >>
> >> I afraid it may affect
>From my point of view, the concept of a "file" has become semantically more
important, and increasingly relevant to Reflection, with the latest PHP
features added in the past couple of years.
I can see what you mean though - it's probably not a small effort, and
there are probably more important
Adi Nita wrote:
> Does anyone know what are the official names for the "->" and "=>"
> operators? They don't seem to be included in the PHP documentation,
> although I would have expected them to reside in the Operators section of
> the manual.
The tokens are T_OBJECT_OPERATOR and T_DOUBLE_ARROW r
On 30/01/12 13:34, Adi Nita wrote:
Hello,
Hello Adi,
Does anyone know what are the official names for the "->" and "=>"
operators? They don't seem to be included in the PHP documentation,
although I would have expected them to reside in the Operators section of
the manual.
Also, the "\" oper
Hello,
Does anyone know what are the official names for the "->" and "=>"
operators? They don't seem to be included in the PHP documentation,
although I would have expected them to reside in the Operators section of
the manual.
Also, the "\" operator used for declaring sub-namespaces is never men
Johannes Schlüter wrote:
> Right, I can see the need. But I think it is a different project from
> the simple "ReflectionFile" thing, as long as that is supposed to work
> with the current reflection system.
Definitely, I just thought I'd note the motivation behind that class. In
any case, a Refle
On Mon, 2012-01-30 at 11:48 +1000, Ryan McCue wrote:
> 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 or
Thanks. I'll commit the patch later today.
Thanks. Dmitry.
On 01/30/2012 01:18 PM, yoram bar haim wrote:
We have the crash in Zend JavaBridge, but yes it will probably occur in .com
eather.
ther scenario is quite simple, you just call a method in a loop. in the
second interation, it will crash
We have the crash in Zend JavaBridge, but yes it will probably occur in .com
eather.
ther scenario is quite simple, you just call a method in a loop. in the
second interation, it will crash.
here is a stenario with JavaBridge :
xxx();
} catch (Exception $e) {
}
}
?>
On Monday,
22 matches
Mail list logo