Hi,
Pierre Joye wrote:
Hi,
I think the biggest myths in this CLA discussion are:
The main realization was that the vendors could not co-operate with
each other on code without a CLA in place, and that some of them would
not be able to co-operate with the community without a CLA in place.
Hi,
Olivier Bonvalet wrote:
Hello,
I often host clients which have bad PHP/SQL code ; as for example
a select * + mysql_row_nums on a 200Mo table just to count lines...
So I add a little patch to throw a warning in case the result of
mysql_query
is larger than a specified limit.
I use the
a while.
libmysql should be updated in all cases to at least 5.0.51. There is a
nasty bug with long history which is fixed when using 5.0.51 . The
my_thread_end bug. Let's smash it now and forever.
regards
holo
Regards,
Andrey
--
Andrey Hristov, Connectors Software Developer
MySQL GmbH
Hi,
Matt Wilmas wrote:
Hi all,
Expanding on the idea of passing a size other than 0 to zend_hash_init(),
when possible, which was done awhile ago in a few areas (to save
resize/rehash operations), I finally added an array_init_size() that can
be used instead of array_init(), likewise, when a
and check
whether the difference is bigger or smaller than a small predefined number.
Regards,
Andrey
--
Andrey Hristov, Connectors Software Developer
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang
Lukas Kahwe Smith wrote:
Hi,
I am about to move all to be discussed items [1] to the future PHP
release section (so after 5.3):
1) userspace streams filter that acts as a default filter through which
require/include read their files (Sebastian, Sara)
2) XMLWriter: Add writeNode([xmlreader
Hi Marcus,
Marcus Boerger wrote:
Hello Andrey,
Tuesday, July 15, 2008, 3:12:27 PM, you wrote:
andrey Tue Jul 15 13:12:27 2008 UTC
Modified files:
/php-src/ext/mysql php_mysql.c
/php-src/ext/mysqli mysqli.c
/php-src/ext/mysqlndmysqlnd.c
Marcus,
Marcus Boerger wrote:
Hello Ulf,
Tuesday, July 15, 2008, 4:32:10 PM, you wrote:
Pierre Joye schrieb:
Drop the launchpad and use php's cvs. We have actually two development
branches (5.3 until the 24th and HEAD) and PECL. The latter let you
experiment as much as you wish.
Pierre,
Pierre,
Pierre Joye wrote:
Hi Ulf,
On Tue, Jul 15, 2008 at 4:32 PM, Ulf Wendel [EMAIL PROTECTED] wrote:
Pierre Joye schrieb:
Drop the launchpad and use php's cvs. We have actually two development
branches (5.3 until the 24th and HEAD) and PECL. The latter let you
experiment as much as you
Pierre,
Pierre Joye wrote:
On Tue, Jul 15, 2008 at 5:42 PM, Ulf Wendel [EMAIL PROTECTED] wrote:
What's your point, what requests are you talking about?
Please ask Johannes, I told them to him live last time we met. If
there is doubts, I will happily repeat them.
I saw one person
Pierre Joye wrote:
I have no clue if Andrey has combined several fixes in one commit. At this
point I have to rely on him choosing a proper granularity for a commit. Too
large commits can always happen. You can work for a month in your local CVS
copy and commit 100k at one - no difference.
Pierre Joye wrote:
On Tue, Jul 15, 2008 at 7:47 PM, Andrey Hristov [EMAIL PROTECTED] wrote:
Pierre Joye wrote:
I have no clue if Andrey has combined several fixes in one commit. At
this
point I have to rely on him choosing a proper granularity for a commit.
Too
large commits can always happen
Hi,
David Soria Parra wrote:
However I think we should provide the infrastructure for developers to
setup a dvcs. I dont know if we want to standardize on a specific one.
But collaboration on exterimental stuff that requires a dvcs should be
possible on php.net servers.
Maybe it's just
Hi,
Lukas Kahwe Smith wrote:
On 04.08.2008, at 10:41, Marcus Boerger wrote:
Hello Lukas,
Monday, August 4, 2008, 10:32:26 AM, you wrote:
On 04.08.2008, at 10:28, Stefan Priebsch wrote:
Hannes Magnusson schrieb:
I don't think anyone but him likes multiple namespaces per file. I do
in :)
Best,
Andrey
--
Andrey Hristov, Connectors Software Developer, Database Group
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
Ryan Panning wrote:
use 'NsA\NsB\NsC\func_c()';
OMG That looks UGLY1
$obj = new NsA\NsB\ClassB;
$obj-methodB();
func_c();
?
Best,
Andrey
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.vl-srm.net/ ?
Cesar D. Rodas wrote:
2009/3/19 mike mike...@gmail.com:
...
Andrey
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Ionut G. Stan wrote:
Hi Ulf,
Thanks for the answer, but let me understand this better.
The old mysql API did not support the auth protocol of MySQL 4.1+, but
only lower,
while the new mysqlnd API only supports MySQL 4.1+ auth protocol. At
least this
is what I understand from the error
Hi,
could you show how you want to express that in PHP code that will work
with calling prepared statements. How the API should work? (Example PHP
code that uses the new API).
Best,
Andrey
Michael G Schwern wrote:
This is a patch against 5.2.9 to fix mysqli::query so a user can call stored
and...@winnie:~/dev/vanilla/php5/Zend$ grep HASH_DEL_KEY_QUICK *
zend_hash.h:#define HASH_DEL_KEY_QUICK 2
zend_hash.h:zend_hash_del_key_or_index(ht, arKey,
nKeyLength, h, HASH_DEL_KEY_QUICK)
Can someone enlighten why do we need that, or it was something left
unimplemented?
Hi,
does it makes sense? Once we renamed php-dev to internals, so this won't
be the first ML rename.
Best,
Andrey
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Sebastian Bergmann wrote:
Andrey Hristov schrieb:
Jani Taskinen wrote:
This should propably be some FAQ somewhere, but please commit things
in one single commit. (sparse checkouts rule! :)
One single commit? I did commit at once.
Jani meant one commit to update all three branches.
ah
Hi Jess,
does it compile after that, because I guess it doesn't. We use some
macros from that header file to be able to handle bit types correctly in
mysqli, when libmysql is used.
#if MYSQL_VERSION_ID 50002
if (mysql_fetch_field_direct(result, i)-type == MYSQL_TYPE_BIT) {
Andrey,
Yes, it compiled just fine with my patch.
Even loaded :)
May the source be with you,
Best regards,
Jess Portnoy
Andrey Hristov wrote:
Hi Jess,
does it compile after that, because I guess it doesn't. We use some
macros from that header file to be able to handle bit types correctly
will be able to compile as a
module (with phpize).
May the source be with you,
Best regards,
Jess Portnoy
Best,
Andrey
Andrey Hristov wrote:
Jess Portnoy wrote:
Reason is MYSQL_VERSION_ID is defined here:
ext/mysqlnd/mysqlnd_libmysql_compat.h:#define
MYSQL_VERSION_ID
Hi Jess,
Jess Portnoy wrote:
I see but assuming mysqlnd is copied, I can still see a problem, in the
configure script:
echo #define $php_def_have_what 1 ext/mysqlnd/php_mysqlnd_config.h
When running my configure:
./configure --disable-xml --disable-dom --disable-libxml
--disable-simplexml
Sebastian Bergmann wrote:
Am 11.01.2010 19:31, schrieb Andrey Hristov:
Modified: php/php-src/branches/PHP_5_2/main/php_version.h
===
--- php/php-src/branches/PHP_5_2/main/php_version.h 2010-01-11 18:27:31 UTC
(rev 293417
Rasmus Lerdorf wrote:
Tim Starling wrote:
?php
class C {
var $v1, $v2, $v3, $v4, $v5, $v6, $v7, $v8, $v9, $v10;
}
$m = memory_get_usage();
$a = array();
for ( $i = 0; $i 1; $i++ ) {
$a[] = new C;
}
print ((memory_get_usage() - $m) / 1) . \n;
?
1927 bytes (I'll use 64-bit from
Hi,
Lukas Kahwe Smith wrote:
Robin Ericsson wrote:
On 3/21/07, Bankó Ádám [EMAIL PROTECTED] wrote:
The project is existing, I'm doing it for about a year and a half, and
SoC is way I can spend more time on it in the summer.
If there is someone willing to something, and someone else is
Hi,
Bankó Ádám wrote:
Then make a mix of PHP and C code. C call call PHP userland, so it
shouldn't be a problem.
I don't want to write a full ORM, only a common base, that others can
extend .. for example with INI/XML file configuration, schema auto
discovery etc.
And as I see it, it is
Hi Ilia
Ilia Alshanetsky wrote:
5.2.2 release cycle is about to begin, with a first RC planned for this
Thursday.
This is a stable branch, right? What to do with PHP5 development stuff
which should not wait till PHP6? Looking at PHP4 one day there will be
PHP 5_3 branch, for sure.
If you
Oliver Block wrote:
Hello,
did you ever discuss a feature like 'application variables'? What I mean is
that a bunch of scripts builds a logic application which is e.g. able to
share variables. While session variables can be used to store values between
script files for a single user ,
Hi Lukas,
Lukas Kahwe Smith wrote:
Hi,
Going over the todo list I wanted to bring up a few topics once again
for review/discussion (not flaming):
http://oss.backendmedia.com/PhP60
# Unicode
3. remove old parameter parsing API and replace with one that
supports unicode related
Hi,
Antony Dovgal wrote:
Hello Peter.
The analysis looks correct.
I'm going to apply the patch soon.
Georg, Andrey, any objections?
no
On 07.06.2007 15:41, Peter Christensen wrote:
Hi,
I'm new to the list, so I apologize if this is the wrong place to post!
Anyway, several years
Hi Tony,
Antony Dovgal wrote:
On 25.07.2007 19:37, Nuno Lopes wrote:
So here it is my first attempt:
http://gcov.php.net/~nlopess/multi_threaded_run_tests.txt
WARNING: The patch is ugly and the output of the script isn't the
prettiest.
Anyway, for automated testing seems to be good enough.
Hi Andi,
Andi Gutmans wrote:
Hi all,
From my point of view I think we can make a really good PHP 5.3 release
pretty quickly as long as we are careful about the scope. There's a lot
of good work which is low risk which we can easily roll into it. There
are high risk items like garbage
Hi,
BuildSmart wrote:
On Aug 30, 2007, at 03:18:34, Jani Taskinen wrote:
Perhaps you could send the diff to the list, or better yet, an url
pointing to the place you uploaded the diff. And note: it should be
unified diff. (diff -u)
I don't understand the intention of the changes? What
Hi Dale,
BuildSmart wrote:
On Aug 31, 2007, at 09:43:14, Andrey Hristov wrote:
Hi,
BuildSmart wrote:
On Aug 30, 2007, at 03:18:34, Jani Taskinen wrote:
Perhaps you could send the diff to the list, or better yet, an url
pointing to the place you uploaded the diff. And note: it should
On 08/20/2012 11:52 PM, Lester Caine wrote:
Having now got mysql running on the PHP5.4.3 machine, I'm trying to
compile mysqlnd and mysqli as extensions to load and unload as required.
php_mysqlnd_config.h no longer exists, but why is the config file named
config9.m4 rather than config.m4? What
Hi,
On 02/12/2013 12:51 PM, Asbjørn Sannes wrote:
https://wiki.php.net/rfc/mysqlnd_localhost_override
I propose we introduce a new option called mysqlnd.localhost_override
which enables a system administrator or php distributor to configure how
localhost should be overridden.
I am
Hi,
On 03/13/2013 10:09 PM, Thomas Anderson wrote:
On Wed, Mar 13, 2013 at 3:37 PM, Rasmus Lerdorf ras...@lerdorf.com wrote:
On 03/13/2013 12:08 PM, Thomas Anderson wrote:
Instead of passing localhost to mysqli_connect as the $host parameter
I think it'd be useful if you could pass something
Hi,
On 05/31/2013 10:03 PM, Anthony Ferrara wrote:
Derick,
In principle I think this is great thing to do. Not having a 64 bit type is
annoying. I'm a bit curious on how this is going to work with all sorts of
object wrappers that are now in place as workaround. And casting int64 to
int32
On 06/19/2013 10:08 PM, David Soria Parra wrote:
On 2013-06-19, Johannes Schlüter johan...@php.net wrote:
Good bye 5.3, you were a great step for PHP!
Looking forward to a bright and open future!
Thank you for taking care of this branch for so long. Keep the good
job up.
ditto!
Andrey
--
if not... I just like that web view. :)
I have already done that :
https://github.com/andreyhristov/php-src
I have filled a pull request too.
Best,
Andrey
On Mon, Jul 29, 2013 at 3:01 AM, Andrey Hristov p...@hristov.com
mailto:p...@hristov.com wrote:
Hi,
after experiencing again warnings
On 07/31/2013 04:56 PM, Sara Golemon wrote:
Ah, yeah, I can see that clearly now. Looks universally cool to me. Do
you just need someone with engine karma to push it?
right. I have no Zend karma, or at least didn't have at CVS/SVN times.
On Wed, Jul 31, 2013 at 1:35 AM, Andrey Hristov p
Hi Rasmus,
On 08/03/2013 07:51 PM, Rasmus Lerdorf wrote:
Hey Johannes, could you take a look at:
https://gist.github.com/anonymous/6143477
You can reproduce in 5.5 with:
sapi/cli/php ext/mysqli/tests/mysqli_poll_kill.php
main/streams/cast.c:306 is:
if (php_stream_is_filtered(stream)) {
Hi,
On 08/22/2011 10:40 AM, Laruence wrote:
georg, andery, ulf:
hello, there is a bug in mysqlnd, the details about this bug can
be found at https://bugs.php.net/bug.php?id=55473
I found the reason is that mysqlnd_connect didn't free the stream
when doing reconnect.
I have
Hi,
I have a fix, currently running the full test suite. Will commit soon.
Best,
Andrey
On 08/22/2011 11:56 AM, Pierre Joye wrote:
it is attached to the bug :)
On Mon, Aug 22, 2011 at 11:47 AM, Andrey Hristovp...@hristov.com wrote:
Hi,
On 08/22/2011 10:40 AM, Laruence wrote:
georg,
Hi,
in my opinion a warning in this case is better than no warning. Because
this shows a problem and even if display_warnings is off the warnings
can be logged for further inspection.
Best,
Andrey
On 08/24/2011 09:35 AM, Laruence wrote:
And the same warnings will be throw while call
Hi,
it's pretty simple, once you have a MySQL server running with enabled
SSL. You can use the following three files to set your MySQL
http://hristov.com/mysql_certs/server-key.pem
http://hristov.com/mysql_certs/server-cert.pem
http://hristov.com/mysql_certs/cacert.pem
[mysqld]
Hi Stas,
On 09/02/2011 10:44 PM, Stas Malyshev wrote:
Hi!
On 9/2/11 1:41 PM, Ferenc Kovacs wrote:
I think you missed the referenced [1]:
[1] Yes, we will still allow building with libmysql and we will fix bugs
reported there and we will verify it works but focus on mysqlnd, as
we're actually
On 09/05/2011 03:19 PM, Ulf Wendel wrote:
No mysqlnd-libmysql BC break here.
Metadata and libmysql - there's hardly a better example why mysqlnd
should be set as a default. With libmysql as a default, PHP 5.4 will
have a randomly crashing default configuration.
Hi,
On 09/05/2011 04:53 PM, Ulf Wendel wrote:
This is the one and only mysqlnd-libmysql difference of some practical
relevance. I consider it at least questionable if libmysql is correct.
If it was to be decided that mysqlnd is wrong, it is probably like five
lines of code in mysqlnd to
On 09/06/2011 10:45 AM, Stas Malyshev wrote:
Hi!
On 9/6/11 1:24 AM, Andrey Hristov wrote:
no, it's about consistency, which you want. mysqlnd should behave like
libmysql, and it is a test that can test it. What libmysql returns in
filtered in mysqli, mysqli_num_rows() is a direct wrapper
On 09/06/2011 11:16 AM, Stas Malyshev wrote:
Hi!
Have you actually checked what libmysql returns??!?
If _you_ just have tried to do it, you might actually find that
libmysql does what mysqlnd did long ago, but mysqli was hiding it.
Here is output from what libmysql does, after removing the
Stas,
On 09/06/2011 06:55 PM, Stas Malyshev wrote:
Hi!
On 9/6/11 2:46 AM, Andrey Hristov wrote:
I've looked into
mysqli_result_is_unbuffered_and_not_everything_is_fetched() and it looks
like for libmysql it checks this:
(((r)-handle (r)-handle-status == MYSQL_STATUS_USE_RESULT) ||
((r)-data
On 09/06/2011 09:08 PM, Stas Malyshev wrote:
Hi!
On 9/6/11 11:05 AM, Andrey Hristov wrote:
I've looked into
mysqli_result_is_unbuffered_and_not_everything_is_fetched() and it
looks
like for libmysql it checks this:
(((r)-handle (r)-handle-status == MYSQL_STATUS_USE_RESULT) ||
((r)-data == NULL
On 09/06/2011 09:54 PM, Andrey Hristov wrote:
On 09/06/2011 09:08 PM, Stas Malyshev wrote:
Hi!
On 9/6/11 11:05 AM, Andrey Hristov wrote:
I've looked into
mysqli_result_is_unbuffered_and_not_everything_is_fetched() and it
looks
like for libmysql it checks this:
(((r)-handle (r)-handle-status
Hi,
On 09/07/2011 07:17 AM, Tomas Kuliavas wrote:
2011.09.06 23:20 Ulf Wendel rašė:
Am 06.09.2011 21:33, schrieb Stas Malyshev:
Hi!
Any new PHP major release is about setting new directions. I, Andrey
and
Johannes, the guys maintaining ext/*mysql* recommend going mysqlnd
after
an
On 09/29/2011 07:13 PM, Ángel González wrote:
On 29/09/11 17:42, Olivier Favre wrote:
I checked with a tiny test program, you're right about GCC complaining.
The right fix is to make the field const (I don't know about const
keyword).
G++ won't give warnings, no error would be triggered by a
Hi Pierre,
On 01/22/2012 12:37 PM, Pierre Joye wrote:
hi,
Can reproduce it now, can you open a bug please and assign it to mysql?
The problem is due to TSRMLS_FETCH being called at the wrong place.
I'm not sure how they want it but ideally it should in the DBG macro
already.
called at the
Hi,
On 04/24/2012 03:32 PM, jpauli wrote:
On Tue, Apr 24, 2012 at 2:34 PM, Ulf Wendelulf.wen...@oracle.com wrote:
Am 24.04.2012 14:27, schrieb jpauli:
I understand your thoughts, but I disagree as I think it would be much
more clean to expose it via mysqlnd_***() API than through each MySQL
Alawi Albaity wrote:
http://bugs.php.net/bug.php?id=32215
please only we want it work until JSR work in 2008
Hi,
you may try PHP-Java bridge. I have tried it few months
ago (with PHP 4) and it worked. I have tested RMI over it
and no problems. Looks like it already supports PHP 5.
Hi Andrei,
do you have anything against that change?
Cheers,
Andrey
Andrei Zmievski wrote:
Uh, would be nice to check with me before making this patch..
On Sat, 12 Mar 2005, Andrey Hristov wrote:
andrey Sat Mar 12 07:03:51 2005 EDT
Modified files:
/php-src NEWS
/php
NULL for
that parameter safely, in case we add another one in the future and you
don't need to get the replacement count.
On Tue, 15 Mar 2005, Andrey Hristov wrote:
Hi Andrei,
do you have anything against that change?
Cheers,
Andrey
Andrei Zmievski wrote:
Uh, would be nice to check with me before
well said Johannes!
Johannes Schlueter wrote:
posted mailed
Jared Williams wrote:
my point is that on internals@ we usually discuss developing
php and not developing *with* php -
Poor practices and insecure code should never go unchallenged anywhere,
unless its cleared marked as such.
As Thies
Hartmut Holzgraefe wrote:
Derick Rethans wrote:
On Fri, 1 Apr 2005, Mike Robinson wrote:
Would 5.0.4pl1 be inappropriate?
Yes, as we decided not to do that anymore and it looks bad.
well, something bad has happened, so what? ;)
better than the potential confusion IMHO
and AFAIK
Zeev Suraski wrote:
All,
One problem that became apparent after the introduction of __autoload(),
is that different pieces of code, sometimes coming from different
sources, may want to declare this function in a different way. Today,
__autoload() is treated like any other function, so it's
Zeev Suraski wrote:
All,
One problem that became apparent after the introduction of __autoload(),
is that different pieces of code, sometimes coming from different
sources, may want to declare this function in a different way. Today,
__autoload() is treated like any other function, so it's
Zeev Suraski wrote:
At 15:18 03/04/2005, Andrey Hristov wrote:
Hi Zeev,
the idea one __autoload() may not be capable of loading therefore the
next
one in the chain should be executed to try to load/define the needed
code.
bool(false) returned from __autoload() means try with the next
Michel JORDA wrote:
Hi everybody
I Have to compile a library (namely, a payment library) and the bank
release a .c source. Therefore I need to make and compile it, but they
mention that
you need to install the php-devel package in order to compile...
what should I download
- on my macosx
- and
Stanislav Malyshev wrote:
GBI meant a logic error - as in the user forgot to use a
GBDIRECTORY_SEPARATOR and so can't find any of the classes, not an
GBobvious PHP error.
OK - then how exactly you want the error message look like? How the engine
is going to guess if it was DIRECTORY_SEPARATOR
Marcus Boerger wrote:
Hello Andrey,
Tuesday, April 5, 2005, 5:21:17 PM, you wrote:
Stanislav Malyshev wrote:
GBcall stack, as if the user had inserted the call to the new
GB__autoload() before the last closing }.
Too much magic, IMO. All you need to know is the list of functions, you
don't need
help
Michel
Andrey Hristov [EMAIL PROTECTED] wrote:
Michel JORDA wrote: Hi everybody I Have to compile a library (namely,
a payment library) and the bank release a .c source. Therefore I need to
make and compile it, but they mention that you need to install the
php-devel package in order
Marcus Boerger wrote:
Hello Lukas,
Wednesday, April 6, 2005, 3:46:08 PM, you wrote:
Hi,
it would be very useful if class_implements()/class_parents() would also
handle a string containing a class name instead of requiring an object
instance.
Class as it says does not need an instance. Can you
Andrey Hristov wrote:
Marcus Boerger wrote:
Hello Lukas,
Wednesday, April 6, 2005, 3:46:08 PM, you wrote:
Hi,
it would be very useful if class_implements()/class_parents() would
also handle a string containing a class name instead of requiring an
object instance.
Class as it says does
Hi all,
I have cooked up a patch that gives the possibility to use not
only an object but a string value with class_implements() and
class_parents() which are part of ext/spl.
Unified diff:
http://andrey.hristov.com/projects/php_stuff/patches/class_parents_implements.patch.txt
Source snippet:
Hi Marcus,
what about class_constant_exists(classname, const)
(a bit long function name though)?
Andrey
Marcus Boerger wrote:
helly Fri Apr 8 09:33:17 2005 EDT
Modified files:
/ZendEngine2 zend_builtin_functions.c
Log:
- Add property_exits()
Hello Marcus,
ok, I will try to cook up something but this time I won't
be so fast since I have some pending commercial :) stuff.
Andrey
Marcus Boerger wrote:
Hello Andrey,
somehow i knew someone would ask for that
how about you writing a patch?
Friday, April 8, 2005, 5:01:24 PM, you
Hello Andi, Marcus,
method_exists() is quite vital to help where the type hinting fail.
Type hinting fail because it leads to a fatal error which is uncatchable
and the code cannot react on this. Therefore, for me type hinting is
kind of useless since I cannot catch my bugs by executing some
Hi all,
since long time ago I feel like disabled when a complex script dies
with a fatal error, for example call on sth which is not an object and
the only thing I get in the error log is the line it has happened. Without
any logging facility running all the time and logging megabytes of data,
Hi Andi,
I am not a Refl API guru, but for the simple check of method_exists()
one has to create one object and then iterate a result set. The other
solution is get_class_methods() which again returns an array which
has to be used only once - let's say with in_array(). in_array() is
a bit slow
() function for something which
is easily done.
Andi
At 05:12 PM 4/8/2005 +0200, Andrey Hristov wrote:
Hello Marcus,
ok, I will try to cook up something but this time I won't
be so fast since I have some pending commercial :) stuff.
Andrey
Marcus Boerger wrote:
Hello Andrey,
somehow i knew someone
Hi Ilia,
when I saw this commit I gazed half a minute to understand why
there is a time_ in front. Later I realized that you have introduced
a namespace for time functions. This is a good idea still the name is
a bit confusing IMO :) Also I saw that you have added quite a long ago
Ilia Alshanetsky wrote:
Andrey Hristov wrote:
Because both functions are in HEAD and still the API is not released
I would appreciate if time_nanosleep() is renamed to nanosleep().
time_sleep_until() emulate a system function but uses it and in this
case maybe the name may stay the same
Uwe Schindler wrote:
We can left that out. The flag to search in the include path is
available to all file_* functions in PHP. Make it sense to search in the
include path for example in the exif-functions? But this parameter is
available there, too. So for consistency I added this parameter.
Derick Rethans wrote:
On Mon, 18 Apr 2005, Hendy Irawan wrote:
Does anybody want named parameters?
These are handy as template functions (like in Smarty), and these are
achievable since the oldest PHP by using associative arrays. It's
purely syntactic sugar, but it's a very convenient thing I
nuke that...
Thanks,
Andi
At 11:38 PM 4/16/2005 +0200, Andrey Hristov wrote:
Hi Andi,
last time I checked with 5.1 I was getting sth like resource(%d) of
Unknown type
Which leads me to think that the user may pass the resource to a
function
and it will greacefully go through
Hi,
don't forget that PHP was made for web programming and in this
world you get from the user the input only as string therefore
?php echo '0' == 'asadoaskd' ?
(nothing, false)
Quite ok I will say. Nobody can enter '0' and pass through the check.
?php echo '0' == (int)'adasd' ?
1
You don't
Hi,
Duncan McIntyre wrote:
On Wednesday 27 April 2005 2:19 pm, Zeev Suraski wrote:
At 16:58 27/04/2005, Duncan McIntyre wrote:
I remember similar arguments being made about most of the new OO features
in PHP5.
Out of interest, how is this more bloated than storing doc comments in
memory?
It's
Sebastian Bergmann wrote:
c:\home\php\php-5.0\ext\mysqli\mysqli.c(390): error C2039:
'multi_query' : is not a member of '_zend_mysqli_globals'
c:\home\php\php-5.0\ext\mysqli\php_mysqli.h(376):
see declaration of '_zend_mysqli_globals'
Fixed. Thanks!
--
PHP Internals - PHP Runtime Development
Sebastian Bergmann wrote:
Sebastian Bergmann wrote:
c:\home\php\php-5.1\Zend\zend_object_handlers.c(160): error C2275:
'ulong': illegal use of this type as an expression
c:\home\php\php-5.1\Zend\zend_config.w32.h(43):
see declaration of 'ulong'
c:\home\php\php-5.1\Zend\zend_object_handlers.c(160):
In process of resolving - will be fixed quite soon.
Andrey
Rob Richards wrote:
It's the mysqli extension due to this commit:
http://news.php.net/php.cvs/31779 and the addition of my_global.h
mysql config-win.h include has too many conflicting defines with TSRM,
ZEND and PHP.
cc'd Georg.
Rob
Quoting Ilia Alshanetsky [EMAIL PROTECTED]:
Yes, Sara made a patch for it..
http://pecl.org/patches/opcode_goto_5.1.0.diff
I don't know if this is the latest one or not.
+1 for the goto patch in 5.1
Ilia
-- PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
Quoting Stanislav Malyshev [EMAIL PROTECTED]:
IAMost common solution people choose to emulate exceptions often
ends up being
IArecursive functions, those as well know in many instances result
in crashes.
Eh? Only case I know when recursion may result in crash is if it's endless
recursion (or
Quoting Rasmus Lerdorf [EMAIL PROTECTED]:
Personally I am quite ambivalent about adding goto. What I am not
ambivalent about is adding anything that will be a nightmare to support.
If the goto patch can be done in such a way that there is absolutely no
way that it will cause weird stack
Quoting Stanislav Malyshev [EMAIL PROTECTED]:
EKnumber on the ratio of abuse vs. use of this new feature.
So far, I personally saw one legitimate use brought up - exiting control
blocks, which can be handled with another proposal, labeled breaks.
Another use brought up - claim that parsers
Quoting Stanislav Malyshev [EMAIL PROTECTED]:
AHDoes C suffer from having goto?
Does C suffer from being able to freely convert any type to any and access
any memory location? Should we add these features too?
--
The first one we already have - you can convert from every to every type. My
bzero() is a function exported by libmysql.
Andrey
Andi Gutmans wrote:
Seems to be due to Ilia's latest patch.
Ilia, can you please change to memset()?
Thanks,
Andi
At 07:16 AM 6/14/2005 +0200, Sebastian Bergmann wrote:
network.obj: error LNK2019: unresolved external symbol _bzero
Lukas Smith wrote:
Stanislav Malyshev wrote:
I wonder what was the original purpose of PHP5 emitting warning when
seeing 'var'? What are you basically saying now is I want PHP4 code
that wouldn't have messages on my class vars if run in PHP5. But I'm
sure there was some idea behind these
1 - 100 of 312 matches
Mail list logo