.
The localhost behavior is already confusing enough. If you want to
have such behavor for your system I suggest a plugin like described in
http://schlueters.de/blog/archives/146-mysqlnd-plugins-for-PHP-in-practice.html
but not as a core feature.
johannes
--
Johannes Schlüter, MySQL Engineering Team
Hi,
with Felipe's help I've just added the second pull request management
tool to mange pull requests.
The first one is https://qa.php.net/pulls/ this allows any php.net
developer to close pull requests on github, without us having to manage
users on github and adding them to groups and all that
On Wed, 2013-02-13 at 18:37 +0100, Lars Strojny wrote:
Hi Johannes,
quick question: does it automatically open bug reports for each PR?
No, for two reasons:
A. Github provides no good notification mechanism for that, we'd
have to pull periodically and match it and so on
B.
Hi,
On Tue, 2013-02-19 at 21:44 +, Nikita Nefedov wrote:
Hi!
As someone mentioned in the thread about short syntax for closures, we
could also drop requirement for `function` keyword when defining/declaring
methods in classes, interfaces or traits.
I proposed this in November '10:
On Tue, 2013-02-19 at 23:07 +, Nikita Nefedov wrote:
At the end, you can always use `grep '(function|public|private|
protected)
You've forgotten abstract and static (mind that we don't force the
order of those)
It saves 9 key strokes (while many IDEs can assist) and helps when
looking
On Wed, 2013-02-20 at 00:13 +0100, Jan Ehrhardt wrote:
Johannes Schlüter in php.internals (Thu, 31 Jan 2013 16:00:17 +0100):
If no critical issues is found in this RC, the final version will be
released in two weeks.
Just curious: what is keeping 5.3.22 and 5.4.12 from being released
is on vacation. Should be done well in time
for PHP 5.3.23 and 5.4.13 as well as 5.5.0.
johannes
--
Johannes Schlüter, ORACLE, MySQL Engineering
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2013-02-19 at 17:08 -0700, Levi Morrison wrote:
Let's stop pretending that the vast majority of PHP users actually
grep source code looking for `function foo`.
That was never said, but there's a big number of people who has to deal
with code produced by others and doing tasks where it
On Thu, 2013-02-21 at 14:37 +0100, Remi Collet wrote:
It seems ZTS bulid is broken
Fixed in fcd4b53 (and merge commits)
johannes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2013-02-21 at 16:54 +0100, Marco Pivetta wrote:
No hard feelings, but it would be awesome if that part of the community
(the one that basically avoids social coding as far as I can see, not to be
taken as a sin, but still meh) didn't just try to hold back PHP because
of business
On Thu, 2013-02-21 at 19:13 +0100, Pascal Chevrel wrote:
I am specifically thinking of Bugzilla which is already used by many
open source projects. It has a lot more features than your current
bug
tracking system, it scales for large projects and it has a few
Mozilla
employees working
On Thu, 2013-02-21 at 17:06 +0100, Marco Pivetta wrote:
On 21 February 2013 17:04, Johannes Schlüter johan...@schlueters.de wrote:
The quoted business decision was We want something stable and fast, an
emphasis of fixing bugs over adding new ones. This sounds sane to me.
Doesn't exclude
On Fri, 2013-02-22 at 08:44 +0100, Martin Keckeis wrote:
I think there may come many critics maybe, but why not move those things
also to github?
It's used by many people. it works, it's easy!
It is easily two steps back. Yay! (Tags are funny but don't help with
categorization of bugs on
Hi,
On Mon, 2013-02-25 at 01:58 -0500, Dennis Clarke wrote:
/usr/local/include/curl/curlrules.h, line 143: zero or negative
subscript
/usr/local/include/curl/curlrules.h, line 153: zero or negative
subscript
conftest.c, line 249: warning: implicit function declaration:
strncasecmp
cc:
On Mon, 2013-02-25 at 09:08 -0500, Dennis Clarke wrote:
So my guess would be that there is some mix between 32 and 64 bit
mode,
try compiling with setting CFLAGS=-m64 (or CFLAGS=-m32) for
configure.
Everything here is -m64 and -xtarget=ultraT2 so not sure where else to
look.
How did
On Mon, 2013-02-25 at 10:49 -0500, Dennis Clarke wrote:
/* The size of `long', as computed by sizeof. */
#define CURL_SIZEOF_LONG 8
This is correct with -m64. Now in your config log there is this compiler
call (quoting your first mail from this thread)
| configure:28678: checking for
On Mon, 2013-02-25 at 16:36 +0100, Bob Weinand wrote:
p.s.: There is no reason why not to fix this in this way, I think, as
you can test at how may iterations the stack will overflow and set the
limit near to this maximum. Which is exactly what we have already
today, only without possible
On Mon, 2013-02-25 at 20:36 +0100, Bob Weinand wrote:
I can increase the default limit to 1000, but if it is too high it has
exactly no sense.
Which is exactly the issue i mentioned about being a good default
We don't discuss about xDebug, but about integrating it into the
core?
Well,
On Mon, 2013-02-25 at 23:20 +0100, Bob Weinand wrote:
Don't consider it as a syntax change, only as a bugfix. It must have been a
bug, that this degree of conformity was not yet reached. :-P
It's only stupid to vote about such microscopic changes as long as there are
no real arguments
Derick Rethans der...@php.net wrote:
Exactly, this random apply rules nonsense needs to stop. I have nothing
against Fabien voting but there is nowhere written who can vote or not
(no, the voting RFC is too vague as well). I for one, would like to see
a much stricter list of people who can
Hannes Magnusson hannes.magnus...@gmail.com wrote:
I like the old approach better. When no clear consensus were reached,
we would vote. Anyone in the world could vote on the mailinglist, and
votes were creatively interpreted grouping people with karma vs community.
Doing the same with polling
On Tue, 2013-03-05 at 12:23 -0600, nat...@starin.biz wrote:
As PHP applications are turning into large frameworks one of the issues
arriving is memory management. One of the issues is that many frameworks use
sophisticated caching techniques to make accessing the same data quickly,
this
Hi,
commit f8b91d9ac (fix for #62852) looks fine to me.
Commit 0ee71 for #53437 is a bit too much for 5.3 in my opinion - what happens
if users have custom work-arounds in extended classes with custom __wakeup or
__set_State methods? Will there be a change of behavihor? I think there should
Matīss Roberts Treinis mrtrei...@gmail.com wrote:
Proposal:
Two additional magic methods for PHP objects -
__refer(void):
Refer method is called whenever object's identifier is assigned to
variable, if such method is present.
Example:
$foo = new Bar;
$bar = $foo; //__refer invoked
This
Julien Pauli jpa...@php.net wrote:
On Tue, Mar 19, 2013 at 12:42 AM, Stas Malyshev
smalys...@sugarcrm.comwrote:
Hi!
Also, AFAIR, call_user_func() doesn't work with functions using
references
in args.
Use call_user_func_array() for that, it supports refs.
Isn't it since 5.3 or so ?
Carlos Rodrigues carlos.v...@gmail.com wrote:
So instead of writing
if ($obj-image) {
echo $obj-image-getUrl();
}
He wrote:
echo $obj-image-getUrl();
Make the property private and add a getter which can throw an exception if no
image is available ...
class C {
private $image;
public
On Thu, 2013-03-21 at 10:02 -0500, David Soria Parra wrote:
Hi Internals,
I added the default Zend OPCache settings to php.ini-development and
php.ini-production atm. To have more people testing the opcache I would
like to enable the OPCache in php.ini-development during the beta phase
and
On Tue, 2013-03-26 at 15:55 +0100, Ondřej Surý wrote:
It does seem to produce lot of fatal errors on lot of places, so it seems
that php5 can be used to improve llvm/clang as well :).
Recent clang versions work well for me with PHP. Earlier versions led to
infinite hanging compilers and such
On Wed, 2013-03-27 at 17:10 +0100, Ferenc Kovacs wrote:
agree, but the current implementation shouldn't be shipped until we
find an acceptable solution.
+1
johannes
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
with opcache being bundled I expectr to see multiple bugs like #64568
where users are trying to load opcache as PHP module (using extension=
in php.ini), I tried to improve the error message a bit.
In
https://github.com/johannes/php-src/commit/a1301253a44de3997548cbd8f83e38d79e4c331c
the PHP
On Thu, 2013-04-04 at 16:18 +0200, Julien Pauli wrote:
Then , I remembered I once proposed to add a new function that could
return
every ./configure options used to compile the runtime PHP the code is
beeing run on.
What's the purpose of this? What problems should be solved by that? - We
Joe Watkins krak...@php.net wrote:
Something that hasn't been mentioned, installation of software like
wordpress or whatever, might be able to offer advice to the end user
based on the configuration defaults, regardless of ini settings.
Le me repeat what I said in this thread using other
Joe Watkins krak...@php.net wrote:
Many extensions do not provide constants or functions to detect the way
they are configured, this may or may not expose those options, which is
better than not being able to expose those options by any reasonable
means.
Then those extensions should expose the
On Fri, 2013-04-05 at 08:01 +0200, Pierre Joye wrote:
stream_wrapper_unregister(http);
stream_wrapper_register(http, CurlStreamWrapper);
and then stream_wrapper_restore(http) to go back to the core
streams.
I wonder what one will do with open streams during the switches. That
can't go
On Fri, 2013-04-05 at 14:09 +0200, Ferenc Kovacs wrote:
I think that it everybody would support that idea, unfortunatelly not
many
people have the knowledge AND the time to write up that kind of
documentation.
That is the key part. There's no worse documentation than wrong
documentation.
On Tue, 2013-04-09 at 11:28 +0800, Laruence wrote:
Hey:
bug is described at #64554
I proposal to add a leading backslash to all classnames (not only ns
names, since no harm, consistent and make sense) when doing serialize,
var_export etc.
what do you think?
This breaks
On Wed, 2013-04-10 at 15:57 +0400, Dmitry Stogov wrote:
The attached patch demonstrates it and adds per script constants
substitution explained in the following script
Will this case work properly:
a.php:
?php
$flag = true;
include('c.php');
?
b.php:
?php
$flag = false;
include('c.php');
?
On Fri, 2013-04-12 at 10:00 +0200, Julien Pauli wrote:
On Fri, Apr 12, 2013 at 1:34 AM, Kalle Sommer Nielsen ka...@php.net wrote:
Hi
2013/4/12 Pierre Joye pierre@gmail.com:
On Thu, Apr 11, 2013 at 11:17 PM, Pierrick Charron pierr...@adoy.net
wrote:
Including 5.3 and 5.4 ??
On Wed, 2013-04-24 at 11:45 -0400, Rasmus Schultz wrote:
This is all kinds of wrong:
http://3v4l.org/UZFME
So the order in which the properties were defined is the magic that makes
this work.
Wow. WTF?
Do I need to explain in detail why this is all kinds of effed up?
vsprintf()'s
On Wed, 2013-04-24 at 12:54 -0500, Ralph Schindler wrote:
I must have left the public in there when I posted it to twitter.
I'd
have to say it's a little unintuitive when the properties are
protected,
but all in all, I don't dislike the behavior. Perhaps this just
needs
to be
On Fri, 2013-04-26 at 16:41 +0200, Julien Pauli wrote:
Hello internals,
I had an idea recently with a friend, about a feature try-catch blocks
could use.
Let me just write an example, you will quickly understand the idea :
*?php*
*
*
*try {*
* foo();*
* bar();*
* baz();*
*}
On Sat, 2013-04-27 at 19:46 +0100, Robert Stoll wrote:
I agree with Amaury.
Although, it is rather smelly code to use try/catch as control flow
instrument, in some situations it is clearer to do it this way.
I think the new construct would be especially useful if one just wants to
log
On Mon, 2013-04-29 at 08:25 +0200, Lars Strojny wrote:
Hi Julien,
I'm still on the fence, not sure if it isn’t too opaque.
Am 26.04.2013 um 16:41 schrieb Julien Pauli jpa...@php.net:
[...]
One question regarding scoping: does the next statement inherit the scope of
the catch block
xinglp xin...@gmail.com wrote:
This is my ugly patch for this.
The patch didn't come through. Please send it as text/plain. Or send it as pull
request or attach it to a fature request in the bug tracker.
But: Why do you need/want this feature? Except for creating a dependency mess.
johannes
On Wed, 2013-05-08 at 10:42 +0200, Ferenc Kovacs wrote:
2013.05.08. 7:38, Pierre du Plessis pie...@pcservice.co.za ezt írta:
The __toArray can be useful if you want to perform array functions on the
object (E.G array_filter), otherwise I think it would be very useful if
the
This can't
, the final version will be
released in two weeks.
Regards,
Stas Malyshev, Johannes Schlüter
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2013-05-24 at 01:16 -0700, Kris Craig wrote:
Couldn't we take a page from MySQL's book and have a setup script that
prompts the admin for this (much like theirs prompts for a root password).
A reminder to run it could be added as a nag at the end of the install;
or, perhaps even have
Andrey Hristov p...@hristov.com wrote:
what about new type IS_LONG64, new field in union and new set of macros
for this type. New extensions or rewritten extensions will use the new
macros. In 2-3 major versions, 5.8 for example, old macros will be
dropped. Enough time extensions to be ported
Anthony Ferrara ircmax...@gmail.com wrote:
1. Change string length in the ZVAL from int to size_t
- http://lxr.php.net/xref/PHP_5_5/Zend/zend.h#321
This would be good but a lot of work and an hard to track engine change ...
2. Change long in the ZVAL (lval) to a system-determined 64bit fixed
On Jun 2, 2013, at 8:34, Pierre Joye pierre@gmail.com wrote:
Obviously there's a pretty significant ABI break here. I propose a tweak
of the Z_* macros to fix that. Basically, Z_STRLEN() will cast the result
to an int. This is the same behavior as today, and will mean that existing
On Tue, 2013-06-04 at 10:41 +0200, Ivan Enderlin @ Hoa wrote:
History shows that such gigantic patches are often not finished and
done as people underestimate the size of PHP and the fact that all
etensions have to be checked which for this case means checking
each external lib for their
On Tue, 2013-06-04 at 14:32 +0200, Ferenc Kovacs wrote:
What do you think about adding the $options and $limit arguments to those
two Exception methods?
With debug_backtrace() adding those reduces the work the engine has to
do while collecting the data, getTrace() is simply passing a
Ferenc Kovacs tyr...@gmail.com wrote:
private bugs can be only accessed by the php security team and some security
people from vendors:
http://git.php.net/?p=web/bugs.git;a=blob;f=include/trusted-devs.php I think
that private bugs like that should be made public after the fixed version
Stas Malyshev smalys...@sugarcrm.com wrote:
Hi!
be great. (Perfect would be if that script would also translate NEWS
to HTML, see README.RELEASE_PROCESS for HTML requirements .. even
Something like this: https://gist.github.com/smalyshev/5736464
If it looks good, I'll add it into
On Mon, 2013-06-10 at 14:07 +0200, Etienne Kneuss wrote:
I propose we fix the serialization/unserialization crash in a way that
does not affect var_dump.
That was the summary of my message a while back, too. Aside from that I
trust the assessment of extension maintainers.
I want to take this
Hi,
On Mon, 2013-06-17 at 11:07 +0200, Ferenc Kovacs wrote:
I suppose somebody added manually (maybe selected a bad PR.
Yes, most likely.
I agree that there should be a button to remove the link to a given PR and
it would be also nice if there would be an entry in the history about who
Hi,
As the release of PHP 5.5.0 is imminent it is time to implement the
decision about PHP 5.3's EOL.
In https://wiki.php.net/rfc/php53eol it was decided that PHP 5.3 should
go into security only mode once PHP 5.5 was released. As PHP 5.3.27
has been branched of and is aimed for release in two
On Jun 19, 2013, at 19:46, Anthony Ferrara ircmax...@gmail.com wrote:
1. Technically, all we need to do is force GC_G(gc_enabled) = 0 in
shutdown. But we could also use zend_alter_ini_entry which has the same
effect. The question comes is there any reason to go through the overhead
of
Johannes Schlüter
PHP 5.4 Release Master PHP 5.3 Release Master
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Johannes Schlüter
PHP 5.4 Release Master PHP 5.3 Release Master
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
David Soria Parra d...@php.net wrote:
On 2013-06-19, Johannes Schlüter johan...@php.net wrote:
Currently there is no plan to release 5.3.28 so the
PHP-5.3 BRANCH IS CLOSED NOW.
we have to announce this on the frontpage of php.net.
The quoted message was sent after 5.3.27 was branched
On Tue, 2013-06-25 at 08:46 +0200, Christian Stoller wrote:
Hi internals.
What do you think about moving the PHP documentation to a Git
repository, mirrored on Github? Doing this would make it possible for
everybody to extend the documentation easily by creating pull
requests.
Basically
On Tue, 2013-06-25 at 13:19 -0700, Stas Malyshev wrote:
Hi!
If I'm to understand this RFC correctly, it is nothing more than a
random suggestion someone posed in the form of a tweet and the author is
saying why not add it since it's not hard to implement. So in summation
Well, here we
On Wed, 2013-06-26 at 13:54 +0200, Robert Stoll wrote:
As far as I see it, it is kind of an operator overload mechanism for the
assign operator.
This can be useful for small utility classes such as Money, Email etc.
An example was given:
$price = new MoneyValue();
$price := 29.99;
On Wed, 2013-06-26 at 16:40 +0200, Ferenc Kovacs wrote:
I think that the return typehints a bit easier topic than the input type
hinting(for scalars), because that affects the caller, while return type
hinting is more contained: you write the function, you put the return
typehint there, if
On Wed, 2013-06-26 at 16:09 +, Jeremy Curcio wrote:
The above examples are just a few that stick out to me I'm sure that
looking through the list of available math functions would provide a
few more examples. Keeping these examples in mind, I don't follow the
logic of range mapping being
On Wed, 2013-06-26 at 18:05 +0200, Ivan Enderlin @ Hoa wrote:
Hello,
Again, I have a segfault with RecursiveDirectoryIterator when I extend
it. This time, I have a very strange value on my SplFileInfo extension
(subclass). When I var_dump the value, I have UNKNOWN:0. This is not a
On Wed, 2013-06-26 at 18:21 +0200, Ivan Enderlin @ Hoa wrote:
On 26/06/13 18:19, Johannes Schlüter wrote:
On Wed, 2013-06-26 at 18:05 +0200, Ivan Enderlin @ Hoa wrote:
Hello,
Again, I have a segfault with RecursiveDirectoryIterator when I extend
it. This time, I have a very strange
On Thu, 2013-06-27 at 16:58 +0200, Nikita Popov wrote:
On Thu, Jun 27, 2013 at 4:10 PM, Christian Stoller stol...@leonex.dewrote:
The new syntax could make it shorter and faster to write... but maybe it's
a bit too confusing?
$count = 0;
foreach ($array as $key = $innerArray as
Hi,
On Thu, 2013-06-27 at 10:21 +0200, Ralf Lang wrote:
Hi,
I want to deal with Bug 44522 which disallows uploads 2G
https://bugs.php.net/bug.php?id=44522edit=1
Great!
Today with PHP cloud solutions, we are running into more situations
where this really hurts.
Yay cloud :-D
(i don't
On Thu, 2013-06-27 at 09:52 -0700, Christopher Jones wrote:
Did you review all the previous mail list discussion about the patch?
IIRC there were a bunch of reasons it never got merged.
what we never merged for reasons is large file support. So 32bit
machines can use files 2G. The patches
On Wed, 2013-07-03 at 17:12 +0200, Sebastian Bergmann wrote:
Am 03.07.2013 17:00, schrieb Johannes Schlüter:
Additionally I got merge conflicts due to this while merging 5.4 into
5.5, please verify the result there.
Don't trust me that I verified my changes before committing? ;-)
PHP
on http://www.php.net/ChangeLog-5.php#5.3.27.
Johannes Schlüter
PHP 5.3 Release Master
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2013-07-12 at 08:10 +0900, Kenji Suzuki wrote:
On Thu, 11 Jul 2013 23:45:02 +0200
Johannes Schlüter johan...@php.net wrote:
Please Note: This will be the last regular release of the PHP 5.3
series. All users of PHP are encouraged to upgrade to PHP 5.4 or PHP
5.5. The PHP 5.3
On Sat, 2013-07-13 at 00:04 +0200, Sebastian Bergmann wrote:
Zend Engine v2.5.0-dev, Copyright (c) 1998-2013 Zend Technologies
At the end of the day it is just a version number but it looks
unprofessional. Would be nice if things like this did not happen.
Yes, mistakes happen, as you
On Sun, 2013-07-14 at 12:39 +0200, Sebastian Krebs wrote:
Backward compatibility (or compatibility in general) between component
is something the plugin maintainer should take care of, not the
language.
Ack. If a library becomes incompatible one should change the name or
namespace or
On Mon, 2013-07-15 at 12:07 +0200, Sebastian Bergmann wrote:
Unless I missed a corresponding feature so far, Composer does not
solve
this problem. This problem could be solved, however, by encoding the
version number in the namespace name:
I didn't say composer solves that part, for
On Thu, 2013-07-18 at 00:05 -0400, Sherif Ramadan wrote:
I assure you the discussion on github and the mailing lists are not
the
reason we've got stagnate PRs.
btw. the same happens with bugs. We're not good to track stuff which
isn't in the special interest area of individual developers.
On Thu, 2013-07-18 at 07:37 +0200, Pierre Joye wrote:
5.3 is security fixes only.
Well, I don't see a good enough reason not to commit documentation to
5.3 as well
There is a good reason: Having clean diffs between releases.
johannes
--
PHP Internals - PHP Runtime Development Mailing
On Thu, 2013-07-18 at 07:46 -0600, Chris London wrote:
My friend shared some code with me today that wasn't working for him. He
was incrementing letters like this:
$letter = 'A';
echo ++$letter; // Output: B
He was then trying to decrement letters like this:
$letter = 'B';
echo
On Fri, 2013-07-19 at 12:44 +0200, Jan Ehrhardt wrote:
C:\php-sdk\php55devnmake snap
[..]
bison.exe --output=Zend/zend_ini_parser.c -v -d -p ini_
Zend/zend_ini_parser.y
bison.exe --output=Zend/zend_language_parser.c -v -d -p zend
Zend/zend_language_parser.y
On Fri, 2013-07-19 at 14:03 +0200, Jan Ehrhardt wrote:
Johannes Schlüter in php.internals (Fri, 19 Jul 2013 13:31:25 +0200):
On Fri, 2013-07-19 at 12:44 +0200, Jan Ehrhardt wrote:
C:\php-sdk\php55devnmake snap
[..]
bison.exe --output=Zend/zend_ini_parser.c -v -d -p ini_
Zend
On Fri, 2013-07-19 at 14:50 +0200, Jan Ehrhardt wrote:
Normal users do not generally build PHP, but there is a chance they use
a build system for compiling special extensions, Then it would be nice
if the zips contain the pregenerated parses.
On http://windows.php.net/snapshots/ we provide
Hi,
On Fri, 2013-07-19 at 12:36 -0400, Daniel Lowrey wrote:
I have a simple question about the callability of language constructs and
whether or not that's something that might change in the future. Consider:
var_dump(is_callable('echo')); // bool(false)
var_dump(call_user_func('echo',
On Fri, 2013-07-19 at 22:42 +0200, Jan Ehrhardt wrote:
It would be really handy if there were phpize-configure-nmake packages
for Windows releases as well.
Well,the ones from the snapshots should work nicely. I hope snaps use
similar compilation settings to releases.
Pierre recently asked me
On Sat, 2013-07-20 at 14:28 +1000, Ryan McCue wrote:
Sara Golemon wrote:
Well, now... to be fair... You could make them functions and use the same
parser trick the backtick operator uses. to map the non-parenthesized
versions feels messy though. I'd just hate to get stuck with a hacky
On Sat, 2013-07-20 at 10:31 +0100, Arpad Ray wrote:
I agree this is a largely pointless can of worms, but here's my POC from
yesterday in case anyone wants to play with it:
https://gist.github.com/arraypad/6044439
*If* we want to provide a simple function for easy printing for
callbacks and
On Thu, 2013-07-25 at 21:01 +0100, Jakub Zelenka wrote:
On Thu, Jul 25, 2013 at 8:56 PM, Stas Malyshev smalys...@sugarcrm.comwrote:
You can create those properties when processing __sleep. Nothing
requires them to exist before __sleep was called.
The problem is that properties will
On Fri, 2013-07-26 at 10:38 +0100, Jakub Zelenka wrote:
This is a bit painful to generate and then parse (unserialize) string
if you do it in C... Especially if you need only add few properties
that will contain data for serialization. In that case Serailizable is
a bit overkill...
So
On Fri, 2013-07-26 at 11:58 +0100, Jakub Zelenka wrote:
So rather change the engine, which affects way more things and add yet
another serialisation hook making it even more confusing what to use?
Yes I agree that the new hook is confusing. I think that what Gustavo said
would be
On Fri, 2013-07-26 at 14:14 +0100, Jakub Zelenka wrote:
This means one has to touch every extension using those hooks. more use
cases in the future means having to do this over and over again, for a
feature I see little benefit in.
I don't want to change get_properties. That would
On Sun, 2013-07-28 at 09:47 +, Dmitry Stogov wrote:
index 733e544..5f414f2 100644
--- a/ext/opcache/ZendAccelerator.h
+++ b/ext/opcache/ZendAccelerator.h
@@ -27,7 +27,7 @@
#endif
#define ACCELERATOR_PRODUCT_NAME Zend OPcache
-#define ACCELERATOR_VERSION 7.0.2-dev
+#define
Hi requinix,
recently I've seen your mail address more often in the bug tracker
providing useful comments helping users and developers triaging bugs.
Would you be interested in quickly introducing yourself and registering
for an account on http://www.php.net/git-php.php so you can
On Wed, 2013-08-14 at 12:03 +0100, Derick Rethans wrote:
On Wed, 14 Aug 2013, Patrick Schaaf wrote:
Would this allow using constants, too? Class constants?
const FOO = 1;
const BAR = self::FOO + 1;
const BAZ = self::FOO + 2;
const BARF = GLOBAL_BARF;
const IMPORT =
On Thu, 2013-08-15 at 14:11 +0100, Marcello Duarte wrote:
Hi,
Are there any thoughts regarding importing multiple functions of a
namespace with a wildcard?
A use case being, for example, assertions from a testing framework.
use (or use function) TestingFramework\Assertions\chosen
: Johannes Schlüter johan...@php.net Thu, 15 Aug 2013 17:47:43
+
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---End Message---
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net
On Thu, 2013-08-15 at 20:19 +0200, Jordi Boggiano wrote:
And to ensure you never push garbage by accident, run this to tell git
to always only push the branch you're on when you run `git push`:
git config --global push.default current
Good tip. I wasn't aware of that setting. Mind that
On Thu, 2013-08-15 at 16:42 -0700, Stas Malyshev wrote:
Hi!
Though obv, in reality we wouldn't use runkit_constant_add(), it'd be a
new opcode which had the same effect. This is basically transparent to
opcode caches, allows the constant to actually change based on runtime
If the
On Fri, 2013-08-16 at 12:36 -0400, J David wrote:
Our solution was to develop a new pseudo-SAPI we call the null SAPI.
All it does is build a complete libphp5.so with no SAPI-related
structures or functions in it at all. Then we can build our real
embedded SAPI -- with all its extra
On Mon, 2013-08-19 at 14:12 -0400, J David wrote:
On Fri, Aug 16, 2013 at 9:15 PM, Sara Golemon poll...@php.net wrote:
Right, gotcha. I think ideally someone should put in the grunt work to do
what you suggested: Build libphp5.so all the time, then link up
php/mod_php5.so/etc... against
401 - 500 of 1214 matches
Mail list logo