Did you actually check out version 4.3?
cvs co -r PHP_4_3 php4
Check your CVS/Entries file. You should see the branch name after each
file.
-Rasmus
On Thu, 13 Mar 2003, Corne' Cornelius wrote:
> Hi,
>
> I compiled CLI version of PHP_4_3 this morning and it gave the following:
e doing so
someone has to volunteer to track how it is working currently so we have a
sense of whether it works at all and under which circumstances it falls
over. Blindly enabling what may or may not be a shaky solution on
something as important as php-dev is a very bad idea.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
n't hide them.
>
> Could you fix this?
Why in the world are you posting this to php-dev? That is a matter for
[EMAIL PROTECTED] and has nothing to do with the PHP project.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
n't override it. If you are unlucky
enough to be speaking a language for which the PHP documentation is
crappy, but you still want to set your accept-language to that language
for use on other sites, then you are out of luck on php.net.
-Rasmus
--
PHP Development Mailing List <htt
Unless I am missing something, I don't see how this stuff belongs in PHP
CVS at all. Could you explain why you think this needs to be in the core
language CVS?
-Rasmus
On Mon, 10 Mar 2003, [iso-8859-2] Ján Šuňavec wrote:
> I need CVS access into PHP CVS repository. I have project w
r equal to zero). Note than when use
integer is in scope, ``%'' give you direct access to the modulus
operator as implemented by your C compiler. This operator is not as well
defined for negative operands, but it will execute faster.
-Rasmus
--
PHP Development Mailing List <
think you also
have to expect -27%7 to return -6.
-Rasmus
On Tue, 4 Mar 2003, George Schlossnagle wrote:
> Interesting.
>
> I don't know what the ISO standard say, but mathematically a a % b will
> always return you an integer 0 <= a%b < b (since there are no negative
for a
modulus() function which leans the other way?
-Rasmus
On Mon, 4 Mar 2003 [EMAIL PROTECTED] wrote:
> ID: 22527
> Updated by: [EMAIL PROTECTED]
> Reported By: jaypedhskr at aol dot com
> -Status: Open
> +Status: Bogus
> Bug Typ
> When I tried to 'make' PHP-4.3.1, it returns warning message and died. I am
> using RH8.0 + Apache 2.0.44
It didn't die, that is simply the end of the build. Warnings aren't
fatal.
(Please do not cc all the lists)
-Rasmus
--
PHP Development Mailing Lis
y
touched GPC data. I never noticed it also did it to the environment and
I'd consider that to be a bug.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
ystem call. Reducing
system calls gives you a lot more bang for the buck than optimizing
elsewhere.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
> followed via php-cvs?
You can't really, but at least their extensions won't compile in future
PHP versions and they will be forced to go and address the issue as
opposed to continuing to propogate extensions that aren't 64-bit friendly.
If we could force a compiler warning/er
On Fri, 28 Feb 2003, Corne' Cornelius wrote:
> Can i code a netfilter extension for PHP or don't you guys see the need
> for it ?
> It could result in some great firewall frontends in PHP
Go for it. Assuming the netfilter library is not under the GPL. LGPL is
fine.
-Rasmus
On Wed, 26 Feb 2003, Andi Gutmans wrote:
> At 12:48 PM 2/26/2003 -0800, Rasmus Lerdorf wrote:
> >I think we can add "%option never-interactive" to the ini-scanner lexer to
> >speed it up a tiny little bit. Speeding up the ini scanner might be
> >important for th
ically set is_interactive to false for the language scanner as
well? I did this here and the ioctl syscalls that come from the isatty()
calls in the lexer dropped away speeding things up nicely.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: ht
The current one does, so it better...
On Wed, 19 Feb 2003, l0t3k wrote:
> Hartmut,
> will this also generate zend_parse_parameters calls based on prototype ?
>
> l0t3k
> "Hartmut Holzgraefe" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > i've just added the first working
_language_scanner.c:5193
#7 0x20401814 in zendlex (zendlval=0x9fbfd76c) at
/homes/rasmus/php4/Zend/zend_compile.c:2459
#8 0x203f38e8 in zendparse () at /home/y/share/bison.simple:432
#9 0x203f6685 in compile_file (file_handle=0x9fbff758, type=2) at
/homes/rasmus/php4/Zend/zend_language_s
s actually mesurably faster to do manual multiple include
prevention with a PHP-level flag. The _once stuff was added distinctly to
prevent that kind of ugly code, but we stuffed it up.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
second one:
#0 0x202e6c0f in lseek () from /usr/lib/libc.so.4
#1 0x203ef154 in php_stdiop_seek (stream=0xd640c, offset=0, whence=0,
newoffset=0x9fbfdcbc)
at /homes/rasmus/php4/main/streams.c:1493
#2 0x203ef868 in _php_stream_cast (stream=0xd640c, castas=-1073741824,
ret=0x9fbfdcf0, show_
Looks fine to me.
On Tue, 25 Feb 2003, Moriyoshi Koizumi wrote:
> Hi,
>
> Attached is the patch for binary-safe strip_tags().
> Although it doesn't appear to be harmful anyhow, I think it needs
> review since it modifies rather sensitive part.
>
> Any objections?
>
> Moriyoshi
>
>
--
PH
eliminate that one getcwd() call that was also in 4.2, perhaps we
can get back to being on par.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
add the path to the
included_files list at that point instead?
Let me know if you feel like playing with it, otherwise I will.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 23 Feb 2003, Shane Caraveo wrote:
> Rasmus Lerdorf wrote:
> > So, I am just starting out down the path to figure out why PHP 4.3 has
> > gotten so much slower than 4.2. "strace -c" provides the first clue. A
> > straight "./configure --enable-inlin
On Sun, 23 Feb 2003, Jim Jagielski wrote:
> Rasmus Lerdorf wrote:
> >
> > Even in 4.2, I think we can optimize it. Assuming chdir() doesn't return
> > an error, we shouldn't need that second getpwd() call since we just did
> > the chdir() and we should know
se(4)= 0 <0.10>
munmap(0x402ba000, 4096)= 0 <0.13>
I don't understand that ioctl() there, but otherwise it looks fine.
In 4.3 we have:
_llseek(4, 0, [0], SEEK_CUR)= 0 <0.09>
lseek(4, 0, SEEK_SET) = 0 <0.09>
brk(0) = 0x81a8000 <0.08>
brk(0x81a9000) = 0x81a9000 <0.11>
ioctl(4, SNDCTL_TMR_TIMEBASE, 0xbfffd190) = -1 ENOTTY (Inappropriate ioctl for device)
<0.09>
brk(0) = 0x81a9000 <0.07>
brk(0x81aa000) = 0x81aa000 <0.09>
read(4, "\n\n
read(4, "", 4096) = 0 <0.08>
read(4, "", 8192) = 0 <0.09>
ioctl(4, SNDCTL_TMR_TIMEBASE, 0xbfffc150) = -1 ENOTTY (Inappropriate ioctl for device)
<0.08>
close(4)= 0 <0.10>
munmap(0x402ba000, 4096)= 0 <0.14>
I really don't understand the SEEK_CUR there. We're seeking forward 0
bytes from the current location followed directly by a SEEK_SET back to 0?
Is this streams overhead or something? Wez?
>From there on the requests are similar. The alarm(0) calls right after
alarm(300) could probably be skipped in both cases.
Anyway, I will go after all these extra lstat/fstat calls and fix that,
but I would appreciate some help with the setitimer() and weird seeking
stuff.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
d allocation a
> number of small objects with the same size should generate less brk's then
> allocating small ones first and then large one).
The script I tested was simply:
Hopefully executing this should not have caused a big change in memory
usage between 4.2 and 4.3.
-
e call is a bit odd.
In 4.2:
write(1, "X-Powered-By: PHP/4.2.4-dev", 27X-Powered-By: PHP/4.2.4-dev) = 27 <0.09>
write(1, "\r\n", 2
write(1, "Content-type: text/html", 23Content-type: text/html) = 23 <0.08>
write(1, "\r\n", 2
write(1, "\r\n
); fclose().
Now, as Sascha said, if file_put_contents() was actually smart and was
able to atomically create a file with the given contents and handle common
error conditions intelligently, then I am all for it.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 18 Feb 2003, Greg Donald wrote:
> On Tue, 18 Feb 2003, Bruce Miller wrote:
>
> >Will PHP allow multiple-thread execution?
>
> PHP4 does not have thread support.
Well, except for pear/PECL/threads, of course.
-Rasmus
--
PHP Development Mailing List <ht
You guys have CVS access, and thus you make the call on what gets accepted
or not. There is no higher power here, you guys know the Apache2 stuff
better than most. You only start getting pushback if you start changing
existing code that might break stuff.
-Rasmus
On Tue, 11 Feb 2003, Ian
de those
things for the extra 40-50 req/sec this is likely to give me.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
gt; always work.
Perhaps make it configurable because on Linux there already is a dcache
right in the kernel which is likely to be faster than anything we can do.
As far as I know, Linux is the only OS with such a kernel-level cache.
-Rasmus
--
PHP Development Mailing List <http:
ong. I'm not quite sure of the semantics of readlink().
You are right. Somehow I had it in my head that readlink() would catch
any part of the path being a link.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
And if open_basedir
is also enabled you might as well go for a coffee while you wait through
some 80+ syscalls for every include.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
() as well.
Or, the really straightforward dumbass solution, have some hint we can
pass along that tells the parser to treat what follows as a canonical
filename.
include "\001/home/rasmus/foo/u2.inc";
A bit too hacky I guess. Perhaps something like:
include_canonical "/home/rasmus/fo
l case.
100,000 realpath() calls on Linux on file /home/rasmus/foo/u2.inc:
real0m1.286s
user0m0.190s
sys 0m1.030s
100,000 stat() calls on Linux on file /home/rasmus/foo/u2.inc:
real0m0.421s
user0m0.070s
sys 0m0.290s
The deeper the directory hierachy, the larger the differ
this just a
It doesn't eliminate it at all, no. These checks are still done even on
accelerated includes in both zend cache and ioncube.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 25 Jan 2003, Andi Gutmans wrote:
> At 04:32 PM 1/24/2003 -0800, Rasmus Lerdorf wrote:
> > > I can't really think of any way of getting around this. include_once() and
> > > require_once() are basic language constructs and they require this.
> >
> &
uld be done
in a single stat where we grab the device number and inode.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
t;
> What OS are you running on? Are you running over NFS?
FreeBSD and no.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
that stuff, but I think it is also
something we should look at in general for PHP.
As for numbers, I basically doubled the req/sec rate of a box by
eliminating a bunch of system calls caused by include_path and
open_basedir stat'ing, so in my particular situation here eliminating as
many s
Take this script:
So, a simple include with an absolute pathname to avoid any include_path
searching and all safe_mode and open_basedir checking turned off. The
latter of course being an absolute killer. We still need a lot of system
calls to handle this include:
getcwd("/home/r
ith that is playing
with fire. I believe we can get work done on php-dev, especially if
people can hold back on replying to trolls.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
that was
completely bogus myself and argued against it.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
you it is pure speculation and you can add
or subtract 6 months to/from the answer you get.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
>I cannot agree more. There is only so much you can do outside
>the PHP (as I do in mod_security).
I've finished the code. I'll run it through its paces here and commit it
soon.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, vis
dered a
new feature that I really can't wait for PHP 5 for.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
back to you. Shopping carts that ask for
your name and phone number, or half of php.net's own stuff. Stick a bit
of javascript in your phone number and watch.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
en on every request on the busiest site in the world; it needs to be
written in C.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
t has already been registered by mbstring's
treat_data/post_handler hooks. That's a big mess!
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
dering priority and superglobal array population. Before
register_globals it made sense to just have one setting for this as you
couldn't have one without the other, but today it doesn't make sense
anymore.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
u only want
Get and Post data in your $_REQUEST array, perhaps, and you have
register_globals off, then $_COOKIE, $_ENV, $_SERVER will not be
populated. This is a pain in the ass! The two concepts should be
separate.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To uns
ribasic [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 05, 2003 5:59 PM
> To: Brian Weil; Rasmus Lerdorf
> Cc: PHP developer list
> Subject: Re: [PHP-DEV] Re: [PHP-WIN] PHP 4.3.0 no gif support?
>
>
> Hello,
>
> Read-only GIF support has now been enabled in the windows v
All the extensions are under ext/
Those two specifically are ext/pgsql and ext/oci8
On Fri, 3 Jan 2003, Chandler, Jacob R wrote:
> I want to write a new extension specific to the MIMER database
> (www.mimer.com). This will be similar to the extensions for PostgreSQL,
> Oracle, etc. and will allo
Hrm.. Whoever built the Windows binary didn't define HAVE_GD_GIF_READ I
guess. Or perhaps it should go into main/config.w32.h.in assuming we are
always going to build the windows binary against the bundled gd library.
-Rasmus
On Fri, 3 Jan 2003, Zac Barton wrote:
> hi all, i thought
If it was stable we would release it. So no, stick with the released
code.
-Rasmus
On Fri, 3 Jan 2003, Tularis wrote:
> would this combination be considered 'stable enough' to use (win32) in a
> small test environement? Or should I just use ZE1 + php4.3
>
>
> --
>
Sascha, we need to give you something constructive to work on...
-Rasmus (top-posted with lots of quoted text just for you)
On Sat, 28 Dec 2002, Sascha Schumann wrote:
> After looking at a few messages again, I noticed that my
> script also considered signatures (personal a
We do already have -r, but I haven't changed my mind on this one either.
Why introduce 2 different kinds of PHP files?
On Fri, 27 Dec 2002, Andi Gutmans wrote:
> I don't think it's beneficial to PHP to have two modes especially as the
> cli more you're talking about would support ?> followed by a
Check it out of cvs. It is in the pres2 directory.
On Fri, 27 Dec 2002, Tobias Schlitt wrote:
> Hi folks!
>
> I saw the nice-looking presentationsystem, written in PHP and using XML, on
> the PHP-Conference this year. I liked that very much and think it's must for
> every PHP-related presentatio
You mean $string{2} ? That's the more correct way to do $string[2] to
make it clear that it is a character offset. This has been supported for
years and will not go away.
-Rasmus
On Tue, 10 Dec 2002, Brad Bulger wrote:
>
> trying to fix bugs in some PEAR code, i noticed the person
Not that I know much about JVM's, but your patches look reasonable to me.
Go to php.net/php-cvs.php and fill in the little form to get a CVS account
and you can commit these changes yourself.
-Rasmus
On Mon, 25 Nov 2002, Tony J. White wrote:
>
> I'm made a stability fix
I have committed this, sort of anyway. I moved the check up as there is
really no reason to go through and even try to do the deallocate on a
truecolour image.
-Rasmus
On Sat, 23 Nov 2002, Moriyoshi Koizumi wrote:
> Hi,
>
> This tiny patch prevents the warnings when
cleaned up/rewritten to be much more efficient and complete.
-Rasmus
On Tue, 19 Nov 2002, Stanislav Malyshev wrote:
> What is apache_hooks SAPI module? It looks like it produces errors in
> my build... And no docs there. What's that?
>
> --
> Stanislav Malyshev, Zend Produc
It is one I created for a presentation. Just about to give a tutorial at
Apachecon here in Vegas and the slide with this image on it was broken
because of this bug. I swear that my 100-slide PHP talk is one of the
best regression test cases we have for PHP. ;)
-Rasmus
On Mon, 18 Nov 2002
Try grabbing this image: lerdorf.com/serverside.png
And do a getimagesize() on it. I am getting a negative value for the
width.
-Rasmus
On Mon, 18 Nov 2002, Marcus Börger wrote:
> At 11:20 18.11.2002, Derick Rethans wrote:
> >On Mon, 18 Nov 2002, Rasmus Lerdorf wrote:
> >
>
getimagesize() works ok in the 4.3 branch, but in HEAD it is returning
weird data. streams problem? too tired to track it down right now.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
Well, I certainly don't want errors handled this way for my web apps. And
you would be hard pressed to find 2 people on this list that agree exactly
how to do it which is why PHP provides you with the tools to do it any way
you want.
-Rasmus
On Mon, 18 Nov 2002, Mattia wrote:
> I th
e energy to do a cvs check, but I remember adding this
restriction years ago (php2 days) and then removing it (by commenting out
the check) ages ago as well. I'm not sure PHP4 ever had this check turned
on (the commented out check was ported to php4), so the documentation has
not reflected realit
On Mon, 18 Nov 2002, Derick Rethans wrote:
> On Sun, 17 Nov 2002, Rasmus Lerdorf wrote:
>
> > I'm still not overly convinced that this isn't a restriction that should
> > only kick in when safe_mode or open_basedir is active. This change is
> > going to
I'm still not overly convinced that this isn't a restriction that should
only kick in when safe_mode or open_basedir is active. This change is
going to break working code and it is not a security fix on non-shared
servers.
-Rasmus
On 18 Nov 2002 [EMAIL PROTECTED] wro
Nope, that is unlikely to happen. The way to do this correctly is with a
socket_select() anyway.
-Rasmus
On Thu, 14 Nov 2002, Arjen Brouwer wrote:
> Hi,
>
> I was wondering, is PHP in future going to support threading? This would be
> a very nice feature.
> I'am curre
ssue for shared server environments, and as such
perhaps the restriction should only be triggered when safe-mode is on.
-Rasmus
On Fri, 15 Nov 2002, Edin Kadribasic wrote:
> Well actually you could. From the beginning of time up to 4.3.0. I
> expect to see a lot of bug reports similar
The reason the functions are the way they are is because they directly
mirror the underlying C functions. strrpos() calls strrchr() directly.
But yes, some sort of new php_memnstr() based string searcher could
probably be written.
-Rasmus
On 13 Nov 2002, Monte Ohrt wrote:
> Hi,
>
>
Seems like a good idea to me. Any volunteers? Zak?
-- Forwarded message --
Date: 11 Nov 2002 23:45:38 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: #20374 [NEW]: Performance enhancment for php_mysql_do_connect.
From: [EMAIL PROTECTED]
Operating system:
Linux
On Mon, 11 Nov 2002, Dave Viner wrote:
> is that on win32? or linux ?
>
> -Original Message-
> From: Rasmus Lerdorf [mailto:rasmus@;php.net]
> Sent: Friday, November 08, 2002 5:01 PM
> To: Dave Viner
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] bis
se to ifdef
> the changes in main and create a new SAPI module for this. I bend to
> the majority though. :)
>
>
> On Sunday, November 3, 2002, at 03:49 AM, Rasmus Lerdorf wrote:
>
> > Well, since 99% of the code is the same, I'd be worried about people
> > remembe
Hrm.. Ok, actually Hartmut changed this recently. See:
http://cvs.php.net/diff.php/php4/main/php_content_types.c?login=2&r1=1.21&r2=1.22&ty=u
It works when you turn on always_populate_raw_post_data, right?
-Rasmus
On Sun, 10 Nov 2002, Kjartan Mannes wrote:
> Using teln
ote:
> > is $HTTP_RAW_POST_DATA only filled if REQUEST_TYPE is set to POST?
> > even if 'always_populate_raw_post_data = On'? does anyone have a short
> > info on this? rasmus maybe?
>
> I to would like know when $HTTP_RAW_POST_DATA is supposed to be set. I
> rece
Yup, you will need to FREE_ZVAL() it
On 9 Nov 2002, Tony Leake wrote:
>
> Hi,
>
> I am getting the following output from a php script that calls an
> extension I am writing (I have compiled the extension with
> --enable-debug)
>
>
> /home/phpcvs/php4_head/ext/pipe/pipe.c(245) : Freeing 0x0822568
I'm not seeing any problems with bison-1.75 here.
On Fri, 8 Nov 2002, Dave Viner wrote:
> here's the message i posted to [EMAIL PROTECTED] for more help in the bison
> problem.
>
> http://www.geocrawler.com/lists/3/GNU/350/0/10107563/
>
> I'm not good enough with bison to understand why it produc
execution time isn't going to be noticeable.
I wouldn't be against perhaps opcoding some functions, just not sure
strlen() would be my first candidate.
-Rasmus
On Fri, 8 Nov 2002, Andrei Zmievski wrote:
> I've made a small patch that turns strlen() into a statement executed
libsmbclient is gpl'ed, correct? We cannot accept extensions that are
written specifically against a single GPL'ed library. Sorry.
-Rasmus
On 5 Nov 2002, Martial Rioux wrote:
> Hi,
> I Request CVS account to contribute a new extension base on smbclient from SAMBA.
>This e
Cool - will play with it a bit here.
On Tue, 5 Nov 2002, David Sklar wrote:
> Based on Edin Kadribasic's PHP "embed" SAPI module, I wrote a MySQL UDF that
> interprets PHP. You can get it here:
>
> --> http://www.sklar.com/myphp-0.1.tar.gz
>
> I'd be curious for any comments or suggestions folks
em, you are going to get traction. People will start contributing
patches and probably extensions for other scripting languages.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
>
> George
>
> On Saturday, November 2, 2002, at 05:58 PM, Rasmus Lerdorf wrote:
>
> > What do you think would be the best way to make the apache_hooks code
> > more
> > accessible to people? A tarball with the relevant files that overwrites
> > the standard
What do you think would be the best way to make the apache_hooks code more
accessible to people? A tarball with the relevant files that overwrites
the standard files, or perhaps it is time to #ifdef it into the main
branch?
-Rasmus
--
PHP Development Mailing List <http://www.php.net/&
Running your code here gives me:
8:27am thinkpad:~> ./foo
Attach code? > 12345
12345
8:27am thinkpad:~>
Seems to work fine.
-Rasmus
On 31 Oct 2002, Adam Voigt wrote:
> Now I have this, same behavior as before, maybe I'm using the flush
> function incorrectly but
flush()
On 31 Oct 2002, Adam Voigt wrote:
> Is this normal?
> I have:
>
> #!/usr/local/php_4.2.3/bin/php -q
>
> error_reporting(E_ALL);
>
> echo "\n\nAttach code? > ";
>
> $f = fopen("php://stdin","r");
> $data = fread($f,5);
> fclose($f);
>
> echo "\n\n$data\n\n";
>
> ?>
>
> And it refuses to e
Well, in the threaded case you avoid a rather expensive ts_resource_ex()
function call, so what you gain is performance. Functionality should be
the same.
-Rasmus
On Wed, 30 Oct 2002, David Viner wrote:
> perhaps i'm a bit slow... what is the gain by moving the TSRMLS_FETCH() from
>
at we can test for
bugs caused by unintended ini setting side-effects. By limiting all tests
to run with a known ini environment we are not performing a real-world
test.
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
I'll add the pear karma once I figure out which of his 2 cvs accounts he
uses.
On Wed, 30 Oct 2002, Alan Knowles wrote:
> Ernani helped out with bcompiler - so karma on that is ok.
>
> I think for php4 you will have to send patches to php-dev for the time
> being. until they get used to you :)
>
Whoa, pigs are flying over the skating rink in hell. Anybody have some
time to go over this and sync things up?
On Mon, 21 Oct 2002, Peter Neuman wrote:
> Hello,
>
> "Andrei Zmievski" <[EMAIL PROTECTED]>:
> > I think we should use forked version of gd library by default for 4.3.0.
> > From what
admin directives can only be used in the httpd.conf file. Non-admins can
be used in both httpd.conf and .htaccess. ie. directives that end-users
should not be able to change themselves should be admin ones.
-Rasmus
On Mon, 21 Oct 2002, Jani Taskinen wrote:
>
> Can someone explain wh
okup would become more complex. Ergo it would slow things
down.
-Rasmus
On Mon, 21 Oct 2002, NTPT wrote:
> Hi.
> I have some idea and suggestion how to extend PHP language a bit in some
> way. That may probably lead to increasing of php flexibility, allow more
> modular coding to be
As in any Apache mod_auth module.
On Sun, 20 Oct 2002, Martin Jansen wrote:
> On Sat Oct 19, 2002 at 11:0608AM -0700, Rasmus Lerdorf wrote:
> > You probably have an external auth module operating on the same request.
>
> I don't think so. Could you perhaps be a bit more ver
You probably have an external auth module operating on the same request.
On Sat, 19 Oct 2002, Martin Jansen wrote:
> The following script fails with the todays snapshot and with PHP
> 4.3.0-pre1:
>
> if (!isset($PHP_AUTH_USER)) {
> header("WWW-Authenticate: Basic realm=\"Foobar\"");
> he
On Fri, 18 Oct 2002, Rasmus Lerdorf wrote:
> I'm trying to optimize some code for an *extremely* busy site. This site
> has a bunch of data in shared memory to make it available across all the
> httpd's. I need to provide this data in the form of arrays to user-space
> PH
set it to be an array but provide my own DTOR function
which will not free these pointers?
-Rasmus
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 18 Oct 2002, Andi Gutmans wrote:
> At 01:09 AM 10/18/2002 +0200, Zeev Suraski wrote:
> >At 18:49 17/10/2002, Rasmus Lerdorf wrote:
> >> has whitespace.
> >
> >And I personally think it's a bit pushing it. How likely is it for
> >someone to have
> On Thu, Oct 17, 2002 at 09:43:02AM -0700, Rasmus Lerdorf wrote:
> > My main worry with such a hack would be breaking a script like this:
> >
> >> function xml() {
> > echo "Hello World";
> > }
> > ?>
> > ...
&g
1 - 100 of 1014 matches
Mail list logo