> -Original Message-
> From: Jani Taskinen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 13 February 2005 5:25 PM
> To: [EMAIL PROTECTED]
> Cc: internals@lists.php.net
> Subject: Re: [PHP-DEV] Symbol clash between Recode and MySQL
> extensions
>
>
>
> Also documented in the manual:
>
Also documented in the manual:
http://www.php.net/recode
Just blame recode and mysql. They both should namespace protect their
functions. :)
If you build the extensions as shared ones, then you can always
make sure in php.ini that you load recode.so first..
--Jani
On S
I think you should be talking to the people that wrote those two
libraries to ask them to clean up their exports; it's nothing to do
with PHP.
For a quick "fix", I'd suggest dropping recode and using iconv instead.
--Wez.
On Sun, 13 Feb 2005 16:24:42 +1100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
I found the book Advanced PHP Programming to be quite
helpful when I started working on the zeroconf
extension. There's a number of chapters dealing with
extensions and Zend engine internals.
--- Chris Cranford <[EMAIL PROTECTED]>
wrote:
> I'm trying to create my first module and I am having
> a
On FreeBSD, I was gettting the following error message when PHP exits:
Php in free(): junk pointer, too high to make sense
Further investigation showed that it stops showing when the MySQL module is
disabled. I rebuilt my MySQL client libraries with debugging symbols, and
forced a crash on invali
> I'm trying to create my first module and I am having a bit of trouble. Is
> there any example modules available I could review to get a better
> understanding of how to write them?
>
Most any directory under ext/ in the source tree are, in actuality,
standalone modules (a few exceptions, though
I'm trying to create my first module and I am having a bit of trouble. Is
there any example modules available I could review to get a better
understanding of how to write them?
Thanks
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
Anyone against requiring libxml2 2.6.x for PHP 5.1?
There are new features in 5.1, which only run with 2.6 (the new error
handling system, for example, or proper namespace support for SAX).
Those are currently ifdef'd, but it definitively would make the life of
the XML maintainers a lot easie
On Feb 12, 2005, at 5:01 AM, Lester Caine wrote:
Derick Rethans wrote:
1. ADOdb has *nothing* to do with the PHP project
It would not exist without it.
No reason why it could not be part.
Plenty of things couldn't exist without PHP. That doesn't mean that
PHP needs to hold still for their sake, o
taft wrote:
Thank you Alan. Could some one get more detail info on Zend Thread Safety?
Probably the only resource is the source (some of the php books may
cover it)
This has a nice introduction to thread concepts.
http://www.llnl.gov/computing/tutorials/workshops/workshop/pthreads/MAIN.html
Re
Hi Marcus,
On Saturday 12 February 2005 18:58, Marcus Boerger wrote:
> ups, reading again i see it, it was ReflectionProperty::getDocComment()
>
> Johannes had a patch for that already and i asked for it some months ago
> but i don't remember if there was anything against it.
no, the some-months-
On Sat, 12 Feb 2005 20:03:37 +0200 (EET)
Jani Taskinen <[EMAIL PROTECTED]> wrote:
> On Sat, 12 Feb 2005, Antony Dovgal wrote:
>
> > Does anyone object to this fix merged into all branches ?
> >
> > http://tony2001.phpclub.net/dev/tmp/bug31455.diff
> >
>
> What's the difference with PS(cooki
On Sat, 2005-02-12 at 12:57, Andi Gutmans wrote:
> Creating WSDL files in Java is usually done by the development tools.
And one of the major benefits to SOAP in .NET is that it is done
completely by the core.
John
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: h
On Sat, 12 Feb 2005, Marcus Boerger wrote:
> ups, reading again i see it, it was ReflectionProperty::getDocComment()
There's a generic getDocComment() method, but that just returns the
entire blob. You then need to parse the blog using the preg functions
to extract individual lines. It would be u
On Sat, 12 Feb 2005, Antony Dovgal wrote:
Does anyone object to this fix merged into all branches ?
http://tony2001.phpclub.net/dev/tmp/bug31455.diff
What's the difference with PS(cookie_send) and PS(sent_cookie) ??
--Jani
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscri
Hello Johannes,
ups, reading again i see it, it was ReflectionProperty::getDocComment()
Johannes had a patch for that already and i asked for it some months ago
but i don't remember if there was anything against it.
marcus
Saturday, February 12, 2005, 6:45:22 PM, you wrote:
> Hello David,
Creating WSDL files in Java is usually done by the development tools.
At 12:26 PM 2/12/2005 -0500, George Schlossnagle wrote:
On Feb 12, 2005, at 11:35 AM, Andi Gutmans wrote:
I think the right way to implement this is in a development tools. There
is other data that needs to be gathered for creat
On Sat, 12 Feb 2005 12:26:06 -0500
[EMAIL PROTECTED] (George Schlossnagle) wrote:
>
> On Feb 12, 2005, at 11:35 AM, Andi Gutmans wrote:
>
> > I think the right way to implement this is in a development
> > tools. There is other data that needs to be gathered for
> > creating a WSDL file such as
Hello David,
did i miss something?
ReflectionClass::getDocComment() should be pretty fine.
marcus
Saturday, February 12, 2005, 12:54:28 PM, you wrote:
>> -Original Message-
>> Can't you use the reflection API to get the data?
> Not yet. My first feature request would be to add a g
On Feb 12, 2005, at 11:35 AM, Andi Gutmans wrote:
I think the right way to implement this is in a development tools.
There is other data that needs to be gathered for creating a WSDL file
such as URI, authentication (if required) etc.
Seems silly to have to use a development tool to do this. On
Hi all!
Does anyone object to this fix merged into all branches ?
http://tony2001.phpclub.net/dev/tmp/bug31455.diff
--
Wbr,
Antony Dovgal aka tony2001
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you Alan. Could some one get more detail info on Zend Thread Safety?
Any document would be fine.
"Alan Knowles" <[EMAIL PROTECTED]>
news:[EMAIL PROTECTED]
> Zend Thread Safety AFAIR,
>
> The Basics of the thread saftey stuff are using global arrays indexed on
> the thread id, rather tha
On Sat, 12 Feb 2005 08:35:09 -0800
[EMAIL PROTECTED] (Andi Gutmans) wrote:
> I think the right way to implement this is in a development tools.
> There is other data that needs to be gathered for creating a WSDL
> file such as URI, authentication (if required) etc.
I agree here. However having a:
> Finally I got a chance to test classkit. Anyway installation with "pear
> install classkit" went through with no errors and after activation in
> php.ini the module shows up as installed. Anyway the function does not
> work
> (class_import) I am still getting the same error as re-require_once a
I think the right way to implement this is in a development tools. There is
other data that needs to be gathered for creating a WSDL file such as URI,
authentication (if required) etc.
Andi
At 12:54 PM 2/12/2005 +0100, David Kingma | jool.nl wrote:
> -Original Message-
> Can't you use th
> There is a section in the manual - Zend API that covers quite
> alot, and lxr.php.net is very usefull..
This is a great resource - how come it isn't mentioned anywhere in the
manual?
Mikey
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub
Finally I got a chance to test classkit. Anyway installation with "pear
install classkit" went through with no errors and after activation in
php.ini the module shows up as installed. Anyway the function does not work
(class_import) I am still getting the same error as re-require_once a
class-file
Steph wrote:
Hi Justin,
It entails looking at the source and not just going 'urgh' :)
It works on win32 in PHP 5 with a libxml base, I don't think anyone got
around to changing the config.m4 file for it yet though (so it _might_ break
on *nix if the expat library isn't present). But it's a require
Zend Thread Safety AFAIR,
The Basics of the thread saftey stuff are using global arrays indexed on
the thread id, rather than just plain globals (no thread safe builds,
eg. for apache or cli etc.)
There are a few good books with introductions to Internals (Georges,
Advanced PHP, is very good,
> -Original Message-
> Can't you use the reflection API to get the data?
Not yet. My first feature request would be to add a getDocComment() to the
ReflectionProperty class. You can generate a WSDL file using the reflection
API but for the xml-schema part of the wsdl file you have to manua
OK, I have built apache and php from scratch (was only php that I built
myself before and have a much more complete backtrace:
#0 0x403c8f7f in zend_hash_index_update_or_next_insert (ht=0x40464848, h=0,
pData=0xb490,
nDataSize=12, pDest=0x0, flag=1) at
/usr/local/src/php-4.3.10/Zend/zend_hash
Derick Rethans wrote:
1. ADOdb has *nothing* to do with the PHP project
It would not exist without it.
No reason why it could not be part.
2. Some people don't need bloated libraries as ADOdb and still want to
have one single unified interface to databases - THAT is what PDO is
for: raw acces
On Sat, 12 Feb 2005 09:43:52 +, Lester Caine <[EMAIL PROTECTED]> wrote:
> I don't see that I am making a fool of myself?
Just about everyone I've met would feel at least embarrased if not
downright foolish if they had done what you have just done,
particularly given the number of people subscr
Wez Furlong wrote:
Until PDO has all the same drivers - ADOdb would become a mess, so there
is little incentive to start changing, and to be honest, you would have
to PROVE that PDO is as fast as the raw database drivers to warrant a
change from them.
Right. Try it. It's faster than adodb, I assu
Lester Caine wrote:
Wez Furlong wrote:
You're missing the point.
No *YOU* are missing the point.
Lester, have you bothered to read the code at all?
PDO is to databases what SAPI is to web servers. It is a layer in the
guts of PHP that will one day make it much easier to maintain and add
new dat
On Sat, 12 Feb 2005, Lester Caine wrote:
> Wez Furlong wrote:
>
> ADOdb is a well established abstraction layer.
And there are others too: pear:db, mdb, metabase...
> > If you want a database abstraction layer, stick with ADOdb and let
> > John adapt that to run on top of PDO.
>
> GE!!
>
I'm sorry, you're right and we're all wrong. All of us. We, the
stupid core developers of PHP, have been, for more than 2 years
off-and-on, discussing the wrong solution to the problem. How could
we be so blind? Aren't we dumb?
We are mistaken that the C code is inconsistent and needs fixing.
Rasmus Lerdorf wrote:
Works ok as far as I know. The above-mentioned problem turned out to be
an incompatibility between my own ltmain.sh I was using and the
m4-generated libtool. With a completely clean tree it does work.
Ta. When I find a few extra hours ... ;)
--
Lester Caine
---
Wez Furlong wrote:
You're missing the point.
No *YOU* are missing the point.
ADOdb is a well established abstraction layer. There have been many
other attempts to provide the same facilities ( e.g PearDB ) and they
are all playing catchup. ADOdb tries to assist by mapping functions so
that peopl
Lester Caine wrote:
Rasmus Lerdorf wrote:
I am still quite skeptical of this bundled libtool idea. It is
currently broken even on mainstream systems such as Debian x86 where
do to the crappy packaging it is really important that people can
build their own. See http://lerdorf.com/php/libtool.tx
Yes, PDO works with PHP 5.0.3, and we are indeed asking people to try
it out with 5.0.3.
If you're using OSX though, you'll probably have problems; PHP 5.0.3
appears to be broken on OSX.
Just for you (well, not really, but I did do it in response to your
mail :-), I've put together a guide on how
Hi~ I am a new comer for the internals.
1. #ifdef ZTS what does this mean? ZTS stands for what?
2. can any one kindly give me a detail introduction for the TSRM mechanism
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
You're missing the point.
PDO isn't a replacement for ADOdb, it's a future replacement for
ext/mysql, ext/pgsql, ext/oci8, ext/odbc, etc. etc. etc.
If you want a database abstraction layer, stick with ADOdb and let
John adapt that to run on top of PDO.
WHY can't you be bothered to read the resou
Rasmus Lerdorf wrote:
I am still quite skeptical of this bundled libtool idea. It is
currently broken even on mainstream systems such as Debian x86 where do
to the crappy packaging it is really important that people can build
their own. See http://lerdorf.com/php/libtool.txt for a ./buildconf
44 matches
Mail list logo