Hello,
please forward user questions to the [EMAIL PROTECTED]
mailinglist, this list is for development _OF_ PHP, not development
_with_ PHP.
Derick
On Wed, 5 Mar 2003, Hantzley wrote:
Hi php users,
I have some questions regarding the way developers uses php sessions.
For instance, most
Just commit these..
I will - give me a couple of days though - given that it is my first
commit with php I want to triple check that I have got the process
correct before I push the button :-)
Dave
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit:
A single API is probably sufficient but I can understand that extension
writers might want to use ints. The INI flag might have nothing to do with
an internal zval and an int might be more than enough.
I don't really mind but I wouldn't introduce OnUpdateInteger.
I guess we should either
On March 5, 2003 12:18 am, Steven Brown wrote:
I went to update the official gd library with my bug fixes so I could get
them rolled back into PHP's without requiring PHP's gd diverge more, but it
appears between the time PHP bundled gd and now that the gd people have
fixed the most important
Hi Moriyoshi
Thanks for the advice!
Moriyoshi Koizumi [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
You should use zval_ptr_dtor() to dispose the old value. Note the old
value won't actually be freed as long as any reference to the variable is
alive.
--
PHP Development Mailing
Hi:
This is an excerpt from ext/pgsql/pgsql.c, in pg_lo_open:
---
if (strchr(mode_string, 'w') == mode_string) {
pgsql_mode |= INV_WRITE;
create = 1;
if (strchr(mode_string, '+') == mode_string+1) {
pgsql_mode |= INV_READ;
}
}
pgsql_lofp = (pgLofp *)
I'm playing around with the compiler/executor and I was wondering if
someone could answer a question..
Is there any reasonable way to essentially push/pop the function table?
What I'd like to do is get a function_table hash for only a single file
(pesudo code below):
Look at apc. It tracks per-file function and class tables.
http://apc.communityconnect.com/ (v2.0)
pear/PECL/apc (v1.x)
Both versions do the thing you wish for.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
I've been playing around with the (not new) idea of introducing threads
into PHP userland (maybe something to think about havin in PHP6?). What
came out of it is available at [1], offering an object oriented API (in
comparison to PECL/threads [2]).
Threads would quite likely come in handy in the
Both of these examples could be realized using fork() or
socket_select(), though the first is not portable and the latter
produces unnecessary overhead.
Just to nit-pick: non-blocking io is much more efficient than threads,
--
PHP Development Mailing List http://www.php.net/
To unsubscribe,
Hi,
I've been trying use C++ within a PHP extension with help by document in
http://www.tutorbuddy.com/software/phpcpp/phpcpp/.
The instructions works fine but I have problems with linking objects. The
script libtool links objects with gcc and not with g++ and the
That should still work fine, though, shouldn't it? I mean, the .so spit out
should be working properly. I just tested this with a C++ extension and
while gcc was used by libtool for the linking, the extension works fine.
If you really want the C++ compiler to do the linking, you can open up
J,
First, thanks by your article. My original e first problem is :
PHP Warning: Unable to load dynamic library
'/usr/lib/php4/20010901/biac.so' - /usr/lib/php4/20010901/biac.so: undefined
symbol: endl__FR7ostream in Unknown on line 0
The use of cout
do you have the PHP_REQUIRE_CXX() in your config.m4?
dave
-Original Message-
From: Michel M. dos Santos [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 12:43 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] Re: modules in c++
J,
First,
Yes.
My config.m4:
PHP_ARG_ENABLE(biac, for biac support,[ --enable-biacEnable biac
support])
if test $PHP_BIAC != no ; then
PHP_ADD_LIBRARY(stdc++)
PHP_EXTENSION(biac,$ext_shared)
PHP_REQUIRE_CXX()
fi
Michel M. dos Santos
On Wednesday 05
with that config.m4, running:
% phpize ./configure --enable-biac=shared make
should yield this:
/bin/bash dir/libtool --mode=compile g++
is that the case or not?
dave
-Original Message-
From: Michel M. dos Santos [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 1:04 PM
To:
Looks like you need to link to the standard C++ library. Try putting this in
your config.m4 file:
PHP_ADD_LIBRARY(stdc++)
And run phpize, configure and make again. That should make gcc link with
stdc++.
J
Michel M. Dos Santos wrote:
J,
First, thanks by your article. My original e
Actually, try this instead of PHP_ADD_LIBRARY(stdc++) and see if that
works...
PHP_ADD_LIBRARY(stdc++, 1, BIAC_SHARED_LIBADD)
J
Michel M. Dos Santos wrote:
Yes.
My config.m4:
PHP_ARG_ENABLE(biac, for biac support,[ --enable-biacEnable biac
support])
if test $PHP_BIAC
Please supply 1 as the 6th argument to PHP_NEW_EXTENSION.
- Sascha
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Just before zend_execute()/execute() handles each opcode in its big switch()
statement, I'd like to be able to call a function and pass it the opcode (or
other information from the opline.
Is the best approach to reset zend_execute to a new function in the
PHP_MINIT_FUNCTION() (and restore the
Just before zend_execute()/execute() handles each opcode in its big switch()
statement, I'd like to be able to call a function and pass it the opcode (or
other information from the opline.
Is the best approach to reset zend_execute to a new function in the
PHP_MINIT_FUNCTION() (and restore
On Wednesday, March 05, 2003 5:35 PM, Sterling Hughes wrote:
Just before zend_execute()/execute() handles each opcode in its big
switch() statement, I'd like to be able to call a function and pass
it the opcode (or other information from the opline.
Is the best approach to reset zend_execute
On Wednesday, March 05, 2003 5:35 PM, Sterling Hughes wrote:
Just before zend_execute()/execute() handles each opcode in its big
switch() statement, I'd like to be able to call a function and pass
it the opcode (or other information from the opline.
Is the best approach to reset
Essentially, I want to be able to produce a sort of serialized
representation of the opcodes, but as they are executed, not all in
one big
chunk after they are compiled.
This isn't for any actually useful production code, just some
debugging/messing around/exploring engine internals.
There's no
Look at zend_init_opcodes_handlers() and the zend_opcode_handler array..
John
-Original Message-
From: George Schlossnagle [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 6:10 PM
To: David Sklar
Cc: Sterling Hughes; [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] Doing something
-Original Message-
From: Ilia A. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 6:31 AM
To: Steven Brown; Pierre-Alain Joye; [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] [PATCH] imagesavealpha()
On March 5, 2003 12:18 am, Steven Brown wrote:
I went to update the official
On Wednesday, March 05, 2003 5:46 PM, Sterling Hughes wrote:
Essentially, I want to be able to produce a sort of serialized
representation of the opcodes, but as they are executed, not all in
one big chunk after they are compiled.
This isn't for any actually useful production code, just some
Such as overriding the opcode handlers for each opcode? I
suppose I could change what the handlers are initialized to in
zend_init_opcodes_handler() so that my new handler does the
serialization and then calls the regular handler. Does that make sense?
Yep
Int
Hi,
I'm having some trouble understanding persistent versus non-persistent
resources (in ZE1). Does the Zend engine call _any_ non-persistent callback
dtor function for a resource at the end of a request?
For example:
If I register a resource type at MINIT time like so:
le_mod =
You can download latest stable snapshot from snaps.php.net or wait for 4.3.2
release.
Edin
- Original Message -
From: Michel Sahyoun [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 1:02 AM
Subject: [PHP-DEV] php_xslt:
Timm Friebe wrote:
I've been playing around with the (not new) idea of introducing threads
into PHP userland (maybe something to think about havin in PHP6?). What
came out of it is available at [1], offering an object oriented API (in
comparison to PECL/threads [2]).
-one of the reasons to not
I have downloaded the 4.3.1 windows binaries zip package and it doesn't seem
to have xslt_set_encoding() enabled.
Can anyone confirm this? And short of getting the sources and recompiling
PHP, is there another binary distribution that would have
xslt_set_encoding() enabled?
Thanks,
Michel
--
32 matches
Mail list logo