ng a patch.
Thanks,
David Oren
uuencoded:
begin 666 patch-35243.diff
M+2TM("XO97AT+W-T86YD87)D+V)A'0Ohttp://www.excite.com
The most personalized portal on the Web!
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
As requested, the patch as a plain-text MIME attachment.
Unfortunately, I don't have easy access to a public server where I can post the
file.
David.
--- On Fri 11/18, Wez Furlong < [EMAIL PROTECTED] > wrote:
From: Wez Furlong [mailto: [EMAIL PROTECTED]
To: [EMAI
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian Bergmann
> Sent: Monday, September 24, 2007 12:26 PM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] CVS Account Request: davidw
>
> Yiduo (David) Wang schrieb:
> > Imple
oth cases I think if neither a serializing
interface is implemented, nor are valid "classes" provided to decode()
it should work like today via StdClass.
Just as the classmap option for ext/soap?
Regards,
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm David Wang and I'm one of the students that is participating in Google
Summer of Code for this summer. My project addresses detecting reference cycles
in PHP, and I'm following this discussion because it seems very pertinent to
what I will be working with this summer
of handlers for that object (basically the
"type" of the object), so there's reasonable confidence that a unique hash
will be generated. It looks like it's independent of the actual properties,
etc. of the object. Spl_object_hash is what you guys want.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
t is in the SPL and not in the
engine does lead one to believe that it might do more than simply hashing
the handler table and handle tuple. People might think it hashes the
properties as well.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
implementation and that struct is copied around a lot. Most notably, this
causes an annoying 5% slow down in bench.php. I'm not certain what real
world impact this has, but data with the php.ini option zend.enable_gc set
to 0 would be very helpful.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
7;s very unlikely for the main garbage collection cycle to be
run if there are no cycles present. (I can go into some technical details if
you'd like).
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
> -Original Message-
> From: Andi Gutmans [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 12, 2007 9:06 PM
> To: David; Scott MacVicar
> Cc: Stas Malyshev; Sebastian Bergmann; internals@lists.php.net
> Subject: RE: [PHP-DEV] Mid-term Update for Cycle Collector (
. My reasoning was that it would be best not to redefine
what that macro operates on and just add _NP versions. However, this can be
changed around fairly easily.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
acros for marking, unmarking and setting the boolean to an argument are
necessary because one of the possible optimizations for gc is to use the
unused bits of the is_ref uchar to store gc information and there would be
certain optimizations for using three macros instead of just the last one.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
quot;. In my experience,
this line returns without error but performs nothing.
If you manually execute the line in the Makefile (substituting the
appropriate variables), you'll have a zend_language_scanner.c and things
will be happy.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
he story is probably to add zend_language_scanner.c to
CVS.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
What about adding the files generated by flex to CVS? Most people don't need
to regenerate those files anyway, and this way they could keep the newer
version of flex on their machine.
> Downgrading flex to 2.5.4a-r6...
>
> seems to have fixed the issue.
>
> I'm running make test right no
These errors are thrown when the user is passing illegal variable types,
please explain why you think they should be warnings. Even silently
converting them to other types would make no sense in these cases.
David
(marc doesn't show e-mail addresses so I can't cc the submitter)
eally do without looking at the actual PHP
source, if possible.
david
--
sub'_{print"@_ ";* \ = * __ ,\ & \}
sub'__{print"@_ ";* \ = * ___ ,\ & \}
sub'___{print"@_ ";* \ = * ,\ & \}
sub'{print"@_,\n"}&{_+Just}(ano
t doesn't look like so. the extension
doc there is pretty much the same as what is in php.net
david
--
sub'_{print"@_ ";* \ = * __ ,\ & \}
sub'__{print"@_ ";* \ = * ___ ,\ & \}
sub'___{print"@_ ";* \ = * ,\ & \}
sub'_
art apache
the only differences is that in the second version, i stop apache before
copying the new .so over. why does it matter? step 4 of my first version
should have unloaded the old .so from memory and then picks up the new .so
in step 5, but it's not doing that. does anyone know
direction I go, the door is closed. What is
really frustrating is that it IIS does this out of the box!
Thank you for any pointers!
david
The environment is:
Server: Apache/2.0.48 (Win32) mod_perl/1.99_12 Perl/v5.8.3 mod_ssl/2.0.48
OpenSSL/0.9.7c. Clients are Windows Workstations.
--
PHP Internals
returns an array back to $k because the last expression of the Perl
code evaluates to an array reference. scalars are returned by value:
$k = p2p_eval("'x1234y' =~ /(\d+)/; $1");
print_r($k);
prints:
1234
this way, i don't have to concern about what context the PHP code i
p.net/unsub.php
>
Does this mean PHP will be taking on the role of maintaining libmcrypt as well?
If a security issue is found, what is the course of action?
Cheers,
David
Sent from my iPhone
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
ot;1" in system)
- disable_functions/classes (only additions to the list allowed)
Thoughts?
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
+1000 on this; so much better than the BaseException stuff!
> On 27.02.2015, at 15:31, Sebastian Bergmann wrote:
>
> Am 23.02.2015 um 19:15 schrieb Nikita Popov:
>> Voting on the engine exceptions RFC, which proposes to convert existing
>> fatal and recoverable fatal errors into exceptions, has
Why not wait with the merge until a consensus emerges regarding Throwable?
> On 09.03.2015, at 05:26, Nikita Popov wrote:
>
> On Mon, Feb 23, 2015 at 7:15 PM, Nikita Popov wrote:
>
>> Hi internals!
>>
>> Voting on the engine exceptions RFC, which proposes to convert existing
>> fatal and rec
Hi internals,
The RFC to add a user-land function for an easy-to-use and reliable
preg_replace_callback_array() in PHP is up for discussion:
https://wiki.php.net/rfc/preg_replace_callback_array
This proposes adding one function: `preg_replace_callback_array()` that
is the better way to Implement
lly where
you've set up a custom, per-file error handler where COERCIBLE_TYPE_MISMATCH
notices are turned into fatal errors. It is your code that decides which error
handler to use.
Cheers,
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
into your application and test/audit every code path, and the hope you
catch everything. It was a global setting, removing it was a *huge* BC break,
and its use was undetectable. None of which is the case with dual mode. There's
no global setting, there's no BC with removing it, and it's use is *extremely*
easy to detect!
Cheers,
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
> On 17 Mar 2015, at 1:33 am, Thomas Punt wrote:
>
> Hey David,
>> A library written in weak or strict mode will have no bearing on its public
>> API.
>
> Strictly speaking (pun intended), this is not true. A library can easily
> expose a
> facade that enforc
ot;); // will give an error
> ?>
>
> Could someone knowledgeable shed light on this?
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohg...@ohgaki.net
Shed light on what exactly? Why it behaves this way?
The second file passes because it is in the default weak mode, so it w
There is actually already a bug for about this:
https://bugs.php.net/bug.php?id=54909
I ran into this several months ago when I upgraded a project from 5.3.2
to 5.5 and found that in 5.3.6 the behavior had changed. I ended up
working around it in my code. It was definitely annoying but had we
upgr
gly, because
voting was already underway.
And then we collectively dropped the ball when it came to remembering to do
this little Throwable proposal and change.
Think of it more as just a few renames to fix engine exceptions before they go
out.
David
P.S. *bump* by the way ;)
> On 30.04.20
But an alpha timeline sounds good ;)
> On 13.05.2015, at 16:32, Pierre Joye wrote:
>
> On May 13, 2015 7:57 PM, "Julien Pauli" wrote:
>>
>> Hello people.
>>
>> Time is going, and summer is coming.
>>
>> I think we must have branched 7.0 until end of May, and have our 2 RMs
>> elected.
>>
>
The problem you’re describing is not new and exists today with libraries
using code like this:
function foo($int) {
if(!is_int($int)) {
throw new InvalidArgumentException(‘Parameter must be of type int’);
}
//… do something with $int
}
Cheers,
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello, I tried to register in RFC Wiki but I get the error "That wasn't the
answer we were expecting", but in all cases, I'm David Rodrigues, and I
like to suggest a method to initialize objects by using an object
initializar. Currently it is supported on C#
Since I'm working on something related... what's the verdict here? :)
> On 20.04.2015, at 20:00, Jakub Zelenka wrote:
>
> Hi,
>
> On Thu, Apr 16, 2015 at 1:21 PM, Pierre Joye wrote:
>
>> On Thu, Apr 16, 2015 at 6:27 PM, François Laupretre
>> wrote:
De : Pierre Joye [mailto:pierre@
On 24.07.2015, at 09:33, Adam Harvey wrote:
>
> On 23 July 2015 at 11:47, Christoph Becker wrote:
>
>> Therefore I tend to prefer a new ini setting (say, pcre.jitstack_limit).
>> That would mean, however, to add yet another ini setting, of which
>> there are already so many.
>
> I'm not a big
gt;>
>> My 2 cents: why do you have "RestException" with "Exception" suffix
>> and then don't have the same suffix on the other exception names? This
>> unpredictable exception hierarchy is the "ugly" part and subtle
>> alternative synt
Hi,
On Mon, 2 Sept 2024 at 12:20, Vincent Langlet
wrote:
> I was today old when I discovered the big difference between strchr and
> strrchr in the way they handle needle with multiple characters.
>
> It's explained in the doc
> https://www.php.net/manual/en/function.strrchr.php
> - If needle co
Seems right thing to do.
I saw some usage like
final class Dir extends Directory
{
}
also did not see much in *new* codes Directory being extended so 8.5 sure.
Cheers.
On Sat, 14 Sept 2024 at 16:36, Gina P. Banyard wrote:
> Hello internals,
>
> I came across the Directory class while doing s
ort enabled
"Olson" Timezone Database Version 2010.9
Timezone Database internal
Default timezone UTC
Sigh...
Ubuntu however reports 0.system as the tz version. Does that mean that
PHP there is using the system's tz database instead?
Cheers
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
uldn't be constant any more as a change to one
> variable inside it would change its own meaning value.
>
> Julien.P
>
>
A constant can only contain static values. There was no mention of
variables.
Isn't a "constant" array basically the same as an Enum?
David
--
ing, I don't
care much for ego's , not when it means things go slower instead of faster,
AS A USER, I would really like for sense to come in somewhere soon, and to
see PHP moving forward, faster and better :) , and I'm sure the right
people are gathered here to (keep) doing it
On Tue, Feb 14, 2012 at 8:35 AM, Ferenc Kovacs wrote:
> as far as I can see the referenced fix (
> http://svn.php.net/viewvc?view=revision&revision=323016) never made to the
> 5.3.10 release (
> http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3_10/?pathrev=323032&view=log
> )
Preface: I am n
On Thu, Feb 16, 2012 at 2:33 AM, Rasmus Lerdorf wrote:
> On 02/15/2012 11:24 PM, J David wrote:
>> The specific circumstance was that magic_quotes_gpc was being set to
>> off in Apache via php_flag, rather than in the .ini file. phpinfo()
>> reported magic_quotes_gpc as Off
Wohoo!!! Congrats everyone!
Bye bye magic quotes!
David
ps. Now to get my host to upgrade to 5.3 grumble grumble!
On 02/03/12 10:29, David Soria Parra wrote:
> Hello!
>
> The PHP Development Team would like to announce the immediate
> availability of PHP 5.4.0. This release is
for several methods
http://au.php.net/manual/en/migration54.new-extensions.php
nothing listed
http://au.php.net/manual/en/migration54.extensions-other.php
"The following extensions can no longer be disabled during build
configuration: " but only one empty list element
Cheers,
David
Ah, cool. That explains it. I noticed I was on the Australian mirror,
but then thought, "nah, can't be because of that..." ;-)
Cheers,
David
On 02/03/12 11:26, Philip Olson wrote:
> The mirrors have not yet updated, which is why the announcement
> linked specifically t
I can't comment on the internal implementation, but I like the use of
the casting syntax. It's not as pretty, but make the intent clear, and
there's not BC issues with class names.
David
On 02/03/12 14:48, Anthony Ferrara wrote:
> Hey all,
>
> I know given all the dis
bedded PHP?
> It might be good if PHP is more tolerant for this usage.
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohg...@ohgaki.net
>
That's a huge WTF that a templating library can't be written as .phpp,
because it then won't be able to load a template.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
ta-daa - PHP EMBEDDED IN HTML CODE!
>
I was wondering when someone was going to point that out. ;-)
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 13/04/12 10:04, Kris Craig wrote:
>
>
> On Thu, Apr 12, 2012 at 4:46 PM, David Muir <mailto:davidkm...@gmail.com>> wrote:
>
> On 13/04/12 09:38, Yasuo Ohgaki wrote:
> > Hi,
> >
> > 2012/4/13 Kris Craig <mailto:kris.cr...@gmail.c
On 13/04/12 11:03, Kris Craig wrote:
>
>
> On Thu, Apr 12, 2012 at 5:46 PM, David Muir <mailto:davidkm...@gmail.com>> wrote:
>
> On 13/04/12 10:04, Kris Craig wrote:
>>
>>
>> On Thu, Apr 12, 2012 at 4:46 PM, David Muir > <mailto:davidkm
On 13/04/12 14:55, Stas Malyshev wrote:
> Hi!
>
>> If this is a pecl module library developers cannot use it and trust
>> that on php 5.n, it just works. That would fork the language in an
>> undesirable way. It should be a core feature, no ini flag, no
>> sometimes-there module.
> PHP 5.n is at le
6 won't stop you from writing
> disorganized code if you still want to. What this will do is provide a
> valuable option for people who do feel that writing clean, role-segregated
> code is important.
So basically, the only parts that might be ok to write as .phpp are some
model and utility classes?
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 14/04/12 03:41, Kris Craig wrote:
>
>
> On Thu, Apr 12, 2012 at 11:37 PM, David Muir <mailto:davidkm...@gmail.com>> wrote:
>
> On 13/04/12 15:13, Kris Craig wrote:
> > Again, the controller should NOT be a .phpp file. Likewise,
> your model
>
eyword solution, which I think is the direction
the discussions of both Yasuo and Tom's RFCs were heading.
>From a technical standpoint, I can see that as being acceptable (using
keywords and removing include restrictions), but from a practical
standpoint, I'm still not seeing the
Great work everyone :)
On 17 April 2012 12:44, David Soria Parra wrote:
> On 2012-04-17, Rasmus Lerdorf wrote:
>> Number of posts to the commit list since Jan.1,2012 (top 25):
>>
>
> Number of commits to php-src (excluding merges) since Jan.1,2012 (top 15):
>
>
thread
Is it safe to assume that the context of a terminated thread will not be
destroyed or overwritten as long as ts_free_thread is not called?
Thanks in advance,
David R.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
in a ICU namespace, then it's not a problem, as it's clearly
related to Unicode.
Cheers,
David
On 31/05/12 21:21, Gustavo Lopes wrote:
> Hi
>
> I've wrapped ICU's BreakIterator and RuleBasedBreakIterator. I stopped
> short of adding a procedural interface. I think th
I'd assume that array_map() only works with arrays, while list comprehension
should work with anything traversable.
David
On 28/06/2012, at 10:43 PM, Sebastian Krebs wrote:
> Hi,
>
> Whats the difference to the (already existing) function array_map() (except
> the syntax
ython just go to use python
>
Try again, this time with less knee-jerk and more brain:
Why is this a bad feature?
How will it make PHP worse?
What is so bad about it that it outweigh the benefits?
Is it the syntax you don't like, or the concept?
Cheers,
David
--
PHP Internals - PHP
On 28/06/12 23:45, Sebastian Krebs wrote:
> Hi,
>
> 2012/6/28 David Muir
>
>> I'd assume that array_map() only works with arrays, while list
>> comprehension should work with anything traversable.
>>
> That sounds more like a "bug" (better: "
What about replacing the existing array with array_slice?
David
On 12/07/2012, at 9:43 PM, Jille Timmermans wrote:
> Hello,
>
> array_shift() currently reindexes the array after shifting one element. The
> reindexing has quite some impact on it's performance. I would like
On 13/07/12 01:04, Matthew Weier O'Phinney wrote:
> On 2012-07-12, Sara Golemon wrote:
>> --e89a8f235453d7a80104c4975c55
>> On Wed, Jul 11, 2012 at 5:39 PM, Anthony Ferrara wrote:
>>> One thing to keep in mind when doing this is to think about consistency.
>>> I think that's a huge point not to be
$array = array('foo' => 'bar');
$object = (object) $array;
echo $array['foo']; //bar
echo $array->foo; //bar
echo $object['foo']; //bar
echo $object->foo; //bar
Is there a technical reason for the difference that currently exists?
Cheers,
David
--
PHP I
), some will be able to run PHP5+ but will still be marketed as
PHP6. Makes it that much harder to know if your code will run on a
client's server.
David
On 18/07/12 00:04, Anthony Ferrara wrote:
I dislike this idea from the ground up.
While I think having a legacy implementation is defin
th some actual implementation
details that make sense.
-Rasmus
Which is the needle, and which is the haystack?
$pos = strpos($string, 'a');
$pos = strpos('a', $string);
vs
$pos = $string->pos('a');
$pos = 'a'->pos($string);
I'm not proposing
ring('foo');
$bar = $foo->toUpper();
echo $foo; //foo
echo $bar; //FOO
So far we only have the toString magic method. If we had the others, you
could conceivably do this all in userland (at a fairly high performance
cost I would assume).
Cheers,
David
--
PHP Internals - PHP R
s is a mailing list, not a
group therapy session for people who didn't update their code regularly.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
lse
>>>function bar ($limit = 50) { /* code */ $foo($limit); /* code */}
>>>// Even somewhere else
>>>bar();
>>>
>>>
>>> same here.
>>
>>
>> Same here :p
>>
>>
>>>
>>> --
>>> Ferenc Kovács
>>> @Tyr43l - http://tyrael.hu
>>
>>
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> So you are saying that your (teams) IDE doesn't tell you the method
> signature which contains also the default values?
> I guess that the fact that many of the php core functions have optional
> arguments and non null defaults must be really a PITA for you.
I think what he was alluding to is the problem where one changes the default.
All usages of the method/function then need to be updated. Using null today is
very much like using the proposed 'default' parameter skipping RFC.
Cheers,
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
my moaning ... PHP created the problems
> 'full stop'
>
Ok, I believe your views have been expressed clearly and for the
sanity of the mailing-list I'd consider stopping this thread.
I would however suggest that you create an RFC which outlines exactly
what you'd like
On 03.09.2012, at 01:11, sle...@pipeline.com wrote:
>> I see how this may work for strings and simple vectors, but what about this:
>>
>> $a = array(-1 => "foo", -2 => "bar"); echo $a[-1];
>>
>> It should keep returning "foo", right? So then the question is - what
>> $array[-1] actually means?
as the sole member, not the
last item itself.
David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
website.//
//
//How should I go about getting involved?//
//
//Thanks,//
David Mytton//
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 27, 2005 8:19 AM, Jani Taskinen <[EMAIL PROTECTED]> wrote:
> On Sun, 27 Feb 2005, Sebastian Bergmann wrote:
>
> > Jani Taskinen wrote:
> >> AC_MSG_WARN([You will need bison 1.28, 1.35, 1.75 or 1.875 if you want
> >
> > bison 2.0 also works (at least for me).
>
> Let's not add that to
On Apr 2, 2005 1:55 AM, Jani Taskinen <[EMAIL PROTECTED]> wrote:
> On Fri, 1 Apr 2005, David Sklar wrote:
>
> > On Feb 27, 2005 8:19 AM, Jani Taskinen <[EMAIL PROTECTED]> wrote:
> >> On Sun, 27 Feb 2005, Sebastian Bergmann wrote:
> >>
> >>>
http://www.php.net/manual/en/function.get-headers.php
- David
> -Original Message-
> From: Ryan Hemelaar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 13, 2005 2:55 PM
> To: internals@lists.php.net
> Subject: [PHP-DEV] Suggestion: If URL Loads Initially, then sto
ntation be incorporated into
a future release? What would be the perquisites? IIRC, one reasons why
namespaces were dropped back then was because there was no agreement on how
import/"using" would work exactly, right?
- David
> -Original Message-
> From: Andi Gutmans [mailt
How about bundling PIMP with 5.1? ;o)
- David
> -Original Message-
> From: Pierre-Alain Joye [mailto:[EMAIL PROTECTED]
> Sent: Sunday, June 05, 2005 11:55 PM
> To: internals@lists.php.net; Derick Rethans
> Subject: Re: [PHP-DEV] PHP 5.1
>
> On Sun, 5 Jun 2005
Ok I'm registering because I am now a new MDB2_Driver_mssql maintainer and I
would need cvs access to update, commit my stuff when I code a bugfix or new
feature.
Thank you very much.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
, it might be
their doom - if so, well, I don't care at all.
I vote +1 for goto, and +712636 for ifsetor.
- David
> -Original Message-
> From: Jason Garber [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 07, 2005 5:29 PM
> To: Jared Williams
> Cc: 'Sascha Schu
.
All the tests passed with this modification (that passed without it). I
also included a test file which tests the new functionality and provides
a few examples of what it could be useful for.
David
Index: ext/standard/array.c
===
RCS
er and will come to you. And you know how to
avoid these security problems. What's the point of this entire discussion
for Pete's sake. You can just as well stab your eye out with any fork in the
world, and that's not a reason to abolish them, right? The discussion is
stupid
at someone could point me in the right direction.
Or have I completely misunderstood the entire concept; when storing a
reference to an object (implemented in C/C++), do the object really have
to be serialized? Thanks for all tips! :-)
Best regards
David Olsson
--
PHP Internals - PHP Runtime D
and use it,
I guess. Other than that, I don't see any problems so far. Does a
My:Nested:Namespace:Class::staticMethod() work?
Nice work man, keep it up, let's hope we can finally have some
namespaces/packaging support in PHP ;) I wish you luck. +1 from me.
- David
P.S: check out http
Oh and to those who are just about to shout "clashes with ternary operator":
$bar = new $foo ? Foo : Bar;
doesn't work in PHP.
- David
> -Original Message-
> From: David Zülke [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 07, 2005 9:32 AM
> To: internals@
error_reporting/display_errors should be disabled on production environments
anyway, so where's the problem. And on dev machines, people will finally
realize they did something stupid. It's up to them to fix it or not to fix
it.
- David
> -Original Message-
> From: Ron
This sounds awesome. Good job, Jessie. Keep it up!
- David
> -Original Message-
> From: Jessie Hernandez [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 02, 2005 6:07 AM
> To: internals@lists.php.net
> Subject: [PHP-DEV] [PATCH] Namespace Patch, Beta 1
>
> A
+1
> -Original Message-
> From: Pierre-Alain Joye [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 08, 2005 9:32 AM
> To: internals@lists.php.net
> Subject: [PHP-DEV] Re: RC1, instanceof?
>
> On Fri, 05 Aug 2005 13:52:13 -0700
> [EMAIL PROTECTED] (Andi Gutmans) wrote:
>
> > Hi all,
> >
>
+1
> -Original Message-
> From: Derick Rethans [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 08, 2005 11:50 AM
> To: PHP Developers Mailing List
> Subject: [PHP-DEV] type hinting throwing a fatal error
>
> Hei,
>
> currently if you pass a wrong object's type to a typehinted parameter:
6.0 if the Namespaces patch makes it in, 5.5 with Unicode only? ;)
- David
> -Original Message-
> From: Derick Rethans [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 09, 2005 10:41 AM
> To: PHP Developers Mailing List
> Subject: [PHP-DEV] PHP 5.5 or 6.0
>
> Now
I was just kidding. I too consider Unicode support a very drastic change
that deserves a new major version number. I'd like to see Namespaces support
in by then, too, though. I really think PHP needs it. These two "features"
are the only things PHP needs desperately, but cannot de
> 6.0 - to define, for now we have two candidates,
> unicode for sure, namespace to be discussed/approved/
> whatever
How 'bout PIMP for 6.0, Pierre? *hint hint* ;)
- David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http
I concur.
- David
> -Original Message-
> From: Ron Korving [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 10, 2005 2:53 PM
> To: internals@lists.php.net
> Subject: Re: [PHP-DEV] Re: drastic memory consumption with a
> sequenceofexceptions
>
> My situatio
, but then, maybe there's a chance). That way, we could
clean up naming inconsistencies (think of all the str* functions), and maybe
even some of the common annoyances when it comes to parameter order
(haystack, needle vs. needle, haystack)
Just a thought.
- David
> -Original M
Duh... "internal functions" is the wrong term, of course. I mean all the
functions that ship with PHP. The old ones would still be available, but you
could do PHP.String.pos() and stuff like that alternatively.
- David
> -Original Message-
> From: David Zülke [mailto:
before, -1 still.
Well... if you're so anti-namespaces, I'm sure you will change all my code
to use different names when collisions occur, right? Thanks man, saves me
loads of trouble then.
- David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.unicode.org/faq/basic_q.html#23
> -Original Message-
> From: Wez Furlong [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 13, 2005 10:30 PM
> To: [EMAIL PROTECTED]
> Cc: internals@lists.php.net
> Subject: Re: [PHP-DEV] Re: php-src /ext/com_dotnet com_handlers.c
> com_variant.
ies. If PHP always has to take care of the
weakest link in the chain (the potentially drop dead stupid "pro"
developer), we'll never get the chance to clean up legacy annoyances,
introduce new stuff and break with things that a majority of people see as a
pain in the elsewhere.
- David
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 1500 matches
Mail list logo