Spanish translation and maintenance of the PEAR manual.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
It's not quite as simple as that. To qualify dynamically loadable
extensions, you will need "debug-zval / non-debug-zval" in addition to
the existing debug/non-debug + zts/no-zts. Or it can be made part of
debug mode, but then the API number has to be bumped, which requires a
minor version change
Hello,
I'm wondering if this syntax is deprecated or not:
function &f() {
return $foo;
}
$h = &f();
ideas?
pierre
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
> i was wondering if there would be much trouble with adding boolean trigger
> to
> get_class_vars ( string class_name) and
> get_object_vars ( object obj)
> which will tell this functions whether to return array with names and
values
> or with names only. with default option set to returning names
Andi Gutmans wrote:
> Hey,
>
> As some of you might have noticed, Dmitry worked on a Perl extension which
> allows PHP to run Perl scripts as well as instantiate Perl objects in PHP
> and use them.
i have done something similiar in the pass but with a different approach. i
have written a PHP ex
hi,
one question to the mysqli OO Syntax. it is correct that the extensibility
of new functions in php classes was the main goal to introduce it? besides the
fact, that the code in general is more readable as with the old ext mysql.
with extensibility I mean class foo_mysql extends mysqli { ... }
Any ideas or suggestions? It would also be cool if people could mess around
with it a bit and give us some feedback.
I already have an instance where this has been extremely useful. My
current project required me to work with some third party com objects. A
couple of them required me to set
Actually, I found the code reasonably clear - a kudos to someone.
The points about the footprint and performance are well taken.
Because the feature is most important before any customers see the
latest rev of product, the feature would be just as useful as
an optional part of the php build. It's
i was wondering if there would be much trouble with adding boolean trigger
to
get_class_vars ( string class_name) and
get_object_vars ( object obj)
which will tell this functions whether to return array with names and values
or with names only. with default option set to returning names and values
At 09:25 PM 3/3/2004 +0100, Derick Rethans wrote:
On Wed, 3 Mar 2004, Todd Ruth wrote:
> Finding those bugs when you have tens of thousands of lines of
> php can be a real headache. That's why I'd very much like
> a disallow_copies function.
But as you demonstrated with your patch you need to mod
I want to translate PEAR documentation to Spanish.
I told about that to "Stefan Neufeind" <[EMAIL PROTECTED]>, and he very kindly answer
that we need, of course, a CVS account to be able to submit the translated files.
I need to acces to: "http://cvs.php.net/cvs.php/peardoc";, to create the "es"
On Wed, 3 Mar 2004, Todd Ruth wrote:
> Finding those bugs when you have tens of thousands of lines of
> php can be a real headache. That's why I'd very much like
> a disallow_copies function.
But as you demonstrated with your patch you need to modify some of the
basic data types that PHP uses an
Thanks for the replies.
First, in response to Stefan...
> [EMAIL PROTECTED]:~$ php -r '$a = 2; $b = $a; debug_zval_dump($a);'
> long(2) refcount(3)
> [EMAIL PROTECTED]:~$
I missed that one. Thanks! With that I'd at least be
able to implement ref_count in php.
And then in response to Adam...
Hi all,
I am wondering if it's possible to build PHP to
support the newer Berkeley DB 4.2 instead of 4.0. I
have libdb-4.2.so installed in a none system
directory:
/home/me/db/lib/libdb-4.2.so
so when I configure, I do:
./configure --prefix=/home/me/php
--with-apxs2=/home/me/apache/bin/apxs
--en
Guys,
This isn't going to change in the near future. Far too much code out there
relies on this mis-feature :)
Andi
At 08:33 AM 3/3/2004 -0500, Greg Beaver wrote:
Hi Rob,
Rob Richards wrote:
From: Greg Beaver
The PEAR base class also has this design flaw in several methods. It
has caused
> To quote Microsoft, "this is a feature, not a bug." :) Of course, if
> someone tries to call a non-static method from another completely
> unrelated class, that's just stupid. But there are cases where you
> might want to call a method from a parent class 2 levels up.
I can see calling the me
On Wed, 3 Mar 2004, Juergen Mueller wrote:
> okay you're right!
> but it increased the migration process from ext/mysql to ext/mysqli in my
> opinion.
Having spent some time over the last few weeks investigating
ext/mysqli, I can say that the migration process is definitely
non-trivial if you're
> ref_count(mixed var)
Just a quick note, do you know debug_zval_dump()?
[EMAIL PROTECTED]:~$ php -r '$a = 2; $b = $a; debug_zval_dump($a);'
long(2) refcount(3)
[EMAIL PROTECTED]:~$
--
Regards,
Stefan Walk
<[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Developme
Juergen Mueller wrote:
Nope, this is the better thing as the link is always required anyway and
it's more logical to do it like this as most other DB and other
extensions what their object/resource as first parameter.
okay you're right!
but it increased the migration process from ext/mysql to ex
> Nope, this is the better thing as the link is always required anyway and
> it's more logical to do it like this as most other DB and other
> extensions what their object/resource as first parameter.
okay you're right!
but it increased the migration process from ext/mysql to ext/mysqli in my
opin
On Wed, 3 Mar 2004, Juergen Mueller wrote:
> hi,
>
> I'am a little astonished concerning the modify function parameter order.
> mysqli_query ( object link, string query [, int resultmode]) for example expect
> the object link after the sql query. in the old ext/mysql it is completly
> reversed. I
hi,
I'am a little astonished concerning the modify function parameter order.
mysqli_query ( object link, string query [, int resultmode]) for example expect
the object link after the sql query. in the old ext/mysql it is completly
reversed. I think this is bad for a possible migration from ext/mys
Hi Rob,
Rob Richards wrote:
From: Greg Beaver
The PEAR base class also has this design flaw in several methods. It
has caused nothing but annoying and unfixable bugs. The only good
solution is to redesign by splitting the methods into two methods, one
static, one not. It's best to do this
web delvelop
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
>>
>> You mean that the hasMore is being used just to
>> assure the current position is valid. While it
should
>> be only used to confirm if there are more elements
or
>> not. Right?
>>
>Absolutely. To avoid lots of confusion/bug reports,
>the current hasMore() should be renamed to isValid().
On Tue, Mar 02, 2004 at 06:11:04PM +0100, Kai Schröder wrote:
> Simple example:
> In Perl ('a' => 'b', 'c' => 'd') could be an assoc array with 2 elements
> (hash) or a list with 4 elements (array, elements on odd positions are the
> old keys).
IMHO this is done by Perl converting HASH to ARRAY
From: Greg Beaver
> The PEAR base class also has this design flaw in several methods. It
> has caused nothing but annoying and unfixable bugs. The only good
> solution is to redesign by splitting the methods into two methods, one
> static, one not. It's best to do this before the stable label i
Yiihaa, it does work! Thanks a million!
- Original Message -
From: "Derick Rethans" <[EMAIL PROTECTED]>
To: "Erkka Marjakangas" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 03, 2004 11:58 AM
Subject: Re: [PHP-DEV] Getting parent constructor called in a class chain -
I have a RedHat 7.3 with a mysql-3.23.49-3 and php-4.1.2-7
mysql was installed as an rpm, that have --local-infile=0 as default.
I´m trying to load a csv file into mysql from a php script, trying not
to install again mysql from source, nor rebuild the rpm package.
So I found that if I make the con
On 2004/03/03, at 10:06, Haruki Setoyama wrote:
My purpose is translation of the PEAR manual into Japanese, and
mentemance of it.
I did Japanese translation of PEAR manual with Mr. Jokagi since last
year. and he suggest to me that I should apply the CVS account.
So the parts I need access to is
On Wed, 3 Mar 2004, Erkka Marjakangas wrote:
> Hello!
>
> Not sure if this is the most proper place for discussing PHP
> extensions, so blame me if I'm in a totally wrong place here ;-)
It is :)
> How do I tell PHP (4.3.4) / Zend engine to automatically call parent
> constructors when creating a
Hello!
Not sure if this is the most proper place for discussing PHP extensions, so blame me
if I'm in a totally wrong place here ;-)
I'm sure this is as simple as standing up, but I just didn't stumble to the right
place in documentation and searching the google didn't highlight anything either
On Tue, 2004-03-02 at 20:49, Todd Ruth wrote:
> I work for a company that is using php and would like to
> contribute a few helper functions that we find useful.
> They are most helpful for anyone doing OO work (especially
> if using singletons) who isn't ready to move to php5.
> Two of the three a
33 matches
Mail list logo