Rasmus Lerdorf wrote:
Which filesystems is /tmp on on the various boxes? tmpfs related perhaps?
On all my systems, /tmp is just part of / which is ReiserFS.
--
Brian Moon
Senior Developer
--
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP
please correct me if
my memory is wrong. Is there some rule that negative values should be
done first before positive values?
--
Brian Moon
Senior Developer
--
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
Brian Moon wrote:
According to my memory of Please My Dear Aunt Sally these should be:
-1/2*5 = -.1
1/-2*5 = -.1
1/2*-5 = -.1
So, that is bad if PHP answers that way. Someone please correct me if
my memory is wrong. Is there some rule that negative values should be
done first before
specifically for Phorum to replace our existing
PHP function. It does more than the PHP internal function would do.
But, the extra parts are not the things that we were trying to overcome.
They are just gravy.
--
Brian Moon
Senior Developer
--
http://dealnews.com/
It's
. But, fwiw, the multisort method does not do the same thing.
So, its apples to oranges. See my other email. In the apples to apples
comparisons with use the same algorithm in PHP and in C, the C version
is always faster.
--
Brian Moon
Senior Developer
--
http
many uses outside of Phorum for such a function IMO.
--
Brian Moon
Senior Developer
--
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
. In this case,
numeric, but with our function, the order is preserved. So, you could
sort the array by ANY thing you wanted before calling the tree sort
function and the nodes at any given level will be in that order.
And as Maurice said, the memory overhead is still there.
--
Brian Moon
Senior
the myth that putting variables inside
strings in PHP was bad, but now, I think I will flip on that.
I tested as far back as PHP 4.3.9 and as new as 5.2.1.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
\nsecond growth: $growth\n;
?
The introduction of $x into the string makes the difference.
first growth: 892
second growth: 3,955,068
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http
. But, there is a CLI and I am gonna use it. I would
like it to be sane. =)
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
me a better example of how that would be used? I
don't see the use in this short example.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
. So,
this is not a solution to keep 3rd parties from breaking your stuff.
It makes no sense to me, but you can never tell what OOP person may jump
in here and think it is the best thing since left handed backwards
inheritance or something. =)
--
Brian Moon
-
http://dealnews.com
Brian Moon wrote:
You can call time pass as const.
Damn, need to proof read. Should be CAN'T
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
as I don't know that it is a
bug. This may be expected behavior. But, I figured it would not hurt
to point it out. Maybe something obvious can be done to fix this? I am
not an advanced C coder or I would dig in to the code myself.
--
Brian Moon
-
http://dealnews.com/
It's good
that if you were/are a perl user and
you want to use the Perl Compatible Regular Expressions in PHP you
could be confused.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http
) 9166-6902
URL: http://blog.bisna.com
MSN: [EMAIL PROTECTED]
São Carlos - SP/Brazil
_
O Windows Live Spaces está aqui! Descubra como é fácil criar seu espaço na Web
e sua rede amigos.
http://spaces.live.com/signup.aspx
--
Brian Moon
an announcement. There would have been ~4
replies and it would have been over with.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
that check PHP syntax warn about it. It just seems like a no brainer. =)
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
gotten so popular.
Someone who has never programmed before can pick it up and start hacking.
Don't even try explaining a ternary to them. =)
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http
think
its a no brainer. I would say right now we have nothing of the sort.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
have a way to do this that is 95% the same as this new method. If
this was a new language construct the discussion would be totally different.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit
and decreases the likelihood of logic errors being
introduced when new lines are added.
I think that refers to syntax like:
if($var==1)
do_something();
So, I guess we can close this discussion. Thanks for entertaining me.
--
Brian Moon
-
http://dealnews.com/
It's good
rather see extension_dir expanded than add a new option
which does much the same thing.
-Sara
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
and had a hard time. And I know what it does. I
finally had to go look up exec() and hope some good doc writer (thanks,
whoever that was) had linked the back tick syntax there.
-1 for confusing new PHP users.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP
control and say in how
things are done.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
a statement, you loose
performance every time you prepare a statement.
So, IMO, there is no performance gain either with prepared
statements/variable binding for normal, one time use queries.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime
. Prepared statements help with none of those.
Prepared statements protect very little against sql injection. Making
people believe otherwise is dangerous.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
. array_sum() is
like 3 lines. IMO, the better question is, are these useful additions
for people that work with a lot of arrays. IMO, they are good additions
to a very useful set of array functions.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP
ending. Before PHP 5, all that was needed was good
OOP support. Now this. I am for namespaces, but that line is getting
old and I, a professional, serious PHP developer and tired of hearing it.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP
.
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
..
This produces inconsistent behavior. I would not be in favor of it.
I suggest you do as Rasmus suggested. Use register_shutdown_function()
perhaps to have a function to change the status code before output is
sent in your specific environment.
--
Brian Moon
-
http://dealnews.com/
It's
[ ] (+1) please remove that redundant strictness again
[ ] (-1) leave as it is, we need strict OO implementation
[X] ( 0) what the hell are you talking about?
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
conversion from something like NULL
to empty string, integer 0, etc. (as PHP does) may be going a little over
board, as an uninitialised variable (such as a member variable) may not be
easily discovered.
IMHO, that is covered by === and the NOTICE error level.
--
Brian Moon
-
http
favorite PHP trick, using settype() to initialize vars, does not set the
var to NULL.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
client side scripting.
Ref: http://msdn.microsoft.com/workshop/author/dhtml/httponly_cookies.asp
I’ve added the flags for setcookie and setrawcookie. There is also
support for the session system as well included.
+1
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap
.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
? It certainly
doesn't to me, but perhaps I am too much of a Unix guy so zip archives
have never been of much use.
I initially agreed with Pierre, but Rasmus has a point. Zip = zip code
in the US. When people talk about a .zip file, they say zip file.
--
Brian Moon
-
http
files
It is very useful for loading optional modules and such. I had never
used it until I started using an emerged PHP build on Gentoo. Its quite
nice.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
in apache will use a numeric value and not
the constants. That is the only way to change the value for an entire
virthost.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net
OS X, preferably both on the Intel- and the PowerPC-platform.
Oh yes. I need to be able to develop on my MacBook Pro.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net
scratch we will look into it. ;)
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
://oss.backendmedia.com/PhP5yz
Could someone add [EMAIL PROTECTED] to that list? We will do our
best to test Phorum against any releases.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http
Phil Driscoll wrote:
Please add and/subtract to/from the above lists.
MediaWiki
Mambo/Joombla/Nuke
Those are the big in their space. We use MediaWiki daily in our company.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development
Inclusion of E_STRICT and E_RECOVERABLE_ERROR into E_ALL
+1
Addition of support for dynamic statics ala: class foo {} foo::$bar = 1;
-1
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit
it hard on them to upgrade, you will see hosts that never upgrade
their PHP versions.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
want to ignore these users, that is fine.
But, I just don't want rose colored glasses making you believe that
everyone that uses PHP knows what is happening to PHP.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
.
Of course, in reference to my earlier comments, this will mean that
there is a high probablity the casual PHP user that does not run his
server will never see the E_STRICT stuff until PHP6.
Unfortunately, I can see no way around it.
--
Brian Moon
-
http://dealnews.com/
Its good
A quick Google for common PHP error messages will almost for sure find
you a zillion sites with E_ALL in production servers.
2.1 million in fact.
http://www.google.com/search?q=notice+undefined+php
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals
about tests. I
want my code to work. And, I believe that was the original point of
this thread.
--
Brian Moon
-
http://dealnews.com/
Its good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
() or the filter
extension IMO.
Brian Moon
dealnews.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
.
I expect from PHP5:
... abc ...
... \abc ...
Also, this is not listed in the upgrade notes at all
http://www.php.net/README_UPGRADE_51.php.
Thanks,
Brian Moon
dealnews.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net
In PHP4, you could do:
function test()
{
return array(1,2,3);
}
$var = array_shift(test());
PHP 5.0 broke this. There was a fatal error on the array_shift that
only variables could be passed by reference. There was a good argument
for it. So, we started migrating our code.
Well,
In 5.1 this now throws an E_STRICT instead of a warning. It is still a
bad idea to pass a tempvar by reference, so yes, you should strive to
write E_STRICT clean code.
Yeah, its more of a question of rewriting 6 years of PHP or not. We
were half way done when we upgraded the dev machines to
Indeed, especially as everyone will tell you that isset and empty are
equivalent.
Are you saying that people misunderstand that or that you believe that
to be true? I see that misunderstanding a lot. I have to educate
people on that. They don't seem to grok the subtle, yet crucial (and I
creates it with an empty value of
the given type. Second, if it does exist, it can semitypecast them for you.
settype($_GET['ConfirmCode'], string);
or
$ConfirmCode = $_GET[ConfirmCode];
settype($ConfirmCode, string);
Brian Moon
dealnews.com
--
PHP Internals - PHP Runtime Development
But you still don't have a default value, just an empty default
value(string, zero, etc.). You can't i.e. initialize $_GET[ConfirmCode]
with Yes using settype...
Oh, you want an operator to do that? Does some other language have this
that we are wanting to copy here? Seems overly complicated
Zeev Suraski wrote:
I'd like to raise a motion to 'Give the Language a Rest'.
+1
Brian Moon
dealnews.com
--
How to go broke saving money.
http://dealnews.com/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Did you try the CVS version instead of the released package?
Thanks, CVS has not been updated in over 2 years. I am pretty sure it
is the same code.
Brian.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
the development of a spread extension to go
into pecl. I am sure there is someone on this list that good do a great
job.
I don't want to post this on some random job list. You get all kind of
crazies there.
Thanks,
--
Brian Moon
dealnews.com
--
How to go broke saving money.
http
? Is
there some big gain in performance we are getting because of this? If
there is a previous post on this list or elsewhere, feel free to point
me to it.
Thanks,
--
Brian Moon
dealnews.com
--
How to go broke saving money.
http://dealnews.com/
--
PHP Internals - PHP Runtime
Ilia Alshanetsky wrote:
Rather then terminating Apache request yourself, you can use universal
Apache configuration directives that allow you to restrict memory
utilization of an Apache process.
Hmmm, the ones I looked at seemed to prohibit a process from growing
above a certain size. Can
Sascha Schumann wrote:
Or simply use eAccelerator which does not cause those open
calls.
Rasmus, is that behaviour by design? I deinstalled APC
because of this 'characteristic' last week. It was killing a
high-traffic site.
- Sascha
On Thu, 2 Feb 2006, Rasmus
it is and not add any new bells and whistles. (Actually, I would back
it up pre new OO features, but that is a different discussion.) I would
rather it be made faster and have the new features (in the way of new
extensions) that will be needed as the internet changes.
Brian Moon
dealnews.com
will never be in
PHP. Oh, wait.
=)
Brian Moon
Phorum Dev Team
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
is silly and
creates unneccasary overhead for those of us that are not on the OO
bandwagon.
(I am not saying there is anything wrong with OO, just that there are
folks out here that still use PHP without OO. I know, shocking, shoot
me now.)
Brian Moon
Porum Dev Team
--
PHP Internals - PHP
Can one of the core guys have a look at
http://bugs.php.net/bug.php?id=26665. This is an easily reproducable
error for me. We have worked around it for now, but I am a little
uneasy that it is out there.
Thanks,
--
Brian Moon, dealnews.com, Inc.
dealnews.com News on computer hardware
That one is set to Won't fix due to limitations in PHP 4 and it's fixed
in PHP 5.
Hmmm, then why can I use multiple files to create the array? PHP only
crashes if I use a single file to create the array.
--
Brian Moon, dealnews.com, Inc.
dealnews.com News on computer hardware bargains
on the bug. I thought it was being ignored.
--
Brian Moon, dealnews.com, Inc.
dealnews.com News on computer hardware bargains
dealmac.com The latest Mac bargains
Comparison shop @ dealram.com dealcam.com dealink.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit
is the difference here and is there any hope of having exec in mod_php
work the same as it does in CLI?
Brian Moon
dealnews.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
| The point is that the SOAP (or whatever) library will be interfacing
| with code written by others. If those other people use type hints and
| it blows up with an E_ERROR, we don't have a nice way to handle this
| error and continue serving.
|
| This *is* a disaster, because we are introducing
Has type hinting for functions been implemented in ZE2?
Brian.
dealnews.com
- Original Message -
From: Timm Friebe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 10:16 AM
Subject: [PHP-DEV] Type hints revisited [IllegalArgumentException
Ok, sorry, I have been off the ZE2 list for a while (just joined back).
Where is there more info on what the type hints do in ZE2. I am curious as
I wrote the RFC.
Brian.
dealnews
- Original Message -
From: Timm Friebe [EMAIL PROTECTED]
To: Brian Moon [EMAIL PROTECTED]
Cc: [EMAIL
101 - 172 of 172 matches
Mail list logo