Are you talking about accessing it from a C extension or from a PHP script?
Because I don't think it's accessible from a PHP script.
Andi
At 04:50 PM 1/19/2001 +0100, Sascha Schumann wrote:
On Fri, 19 Jan 2001, Rasmus Lerdorf wrote:
- is_arr_upload =
Hey,
Have any of you guys worked with the latest and greatest MySQL replication?
Does it work? What are its ups and downs?
Andi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
Damn, cvs.php.net is down so I can't commit changes.
Best to change the #if WIN32|WINNT to #ifdef PHP_WIN32
Also you should use BEGIN_EXTERN_C() and END_EXTERN_C()
I know it's picky, but it's good for consistency.
Andi
At 03:41 AM 1/28/2001 +, Harald Radi wrote:
phanto Sat Jan 27
Are you including php.h or zend.h? Those macro's should be defined and they
are used in lots of places. Look at zend.h
Let me know of your progress.
Thanks,
Andi
At 03:41 AM 1/28/2001 +, Harald Radi wrote:
phanto Sat Jan 27 19:41:43 2001 EDT
Removed files:
/php4/ext/com
Chris,
Thanks for the report. This will be fixed in the next version of the Zend
Optimizer.
Andi
At 12:32 PM 1/31/2001 -0800, Chris Lee wrote:
?
echo @$test;
?
This works without Zend Optimizer installed, as soon as I turn on Zend I get
'undifined variable'. Why doesn't the @ turn this
andiWed Jan 31 13:53:30 2001 EDT
Modified files:
/php4/ext/ingres_ii ii.c
/php4/ext/mysql php_mysql.c
/php4/ext/pgsql pgsql.c
/php4/ext/standard scanf.c
Log:
- Change unset() functions to null(). unset() is legacy
Index:
Alain,
Have you tried changing your keyboard layout in the Windows Control-Panel
to Swiss-French?
As far as I know, Java uses your systems keyboard layout.
Java will be supported by other vendors such as Sun IBM on Windows so I
wouldn't worry about it ;)
And of course our aim is to support
By the way, often compilers change switch() to if()/else() if they know
that it would be faster (if you only have like 2 cases) so if the code is
much nicer you don't need to be too afraid of switch() :)
Andi
At 03:44 PM 2/3/2001 +0200, Boian Bonev wrote:
hi,
What do you mean, switch()
What is the reason for this? Shouldn't we keep it the way it works within
the PHP tree? Some modules include php_config.h or do you also have that in
PEAR?
Andi
At 09:54 AM 3/12/2001 +, Stig Bakken wrote:
ssb Mon Mar 12 01:54:26 2001 EDT
Modified files:
/php4/pear
Seems to me that you can nuke the following as it will always be done in RINIT:
+static void php_yp_init_globals(YPLS_D)
+{
+ YP(error) = 0;
+}
+
+PHP_MINIT_FUNCTION(yp)
+{
+#ifdef ZTS
+ yp_globals_id = ts_allocate_id(sizeof(php_yp_globals),
(ts_allocate_ctor) php_yp_init_globals,
andiTue Mar 20 10:13:21 2001 EDT
Added files: (Branch: PHP_4_0_5)
/php4/sapi/fastcgi CREDITS Makefile.in README.FastCGI config.m4
fastcgi.c php.sym php_fastcgi.h
Log:
- MFH
Index: php4/sapi/fastcgi/Makefile.in
+++
andiTue Mar 20 12:13:09 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/midgard config.m4
Log:
- MFH - This is required for PHP to build. If anything else needs merging
for midgard that is related then please do it or rollback the latest
andiWed Mar 21 12:07:18 2001 EDT
Modified files:
/php4/ext/pfpro pfpro.c php_pfpro.h
Log:
- Fix spelling error
Index: php4/ext/pfpro/pfpro.c
diff -u php4/ext/pfpro/pfpro.c:1.9 php4/ext/pfpro/pfpro.c:1.10
--- php4/ext/pfpro/pfpro.c:1.9 Sun Feb 25
+#if !(WIN32|WINNT)
+#include "php_config.h"
+#endif
You should use PHP_WIN32 instead of (WIN32|WINNT). In any case, I think
these three lines can be erased because php.h includes php_compat.h which
in turn includes php_config.h when not under Windows and the Windows config
when necessary.
On Thu, 27 Dec 2001, Kancha . wrote:
I coulnd't figure out the difference between the two:
function foo(){
$x = hello;
return $x;
}
and
function foo(){
$x = hello;
return $x;
}
return $x will give you a parser error.
Andi
--
PHP General Mailing List
PHP 5 per-class constants can already except static arrays such as
array(1, 2, 3) as their value. I'll put the issue of global constants on
my TODO and believe PHP 5 will also support these for global constants.
However, you won't be able to create a constant with a non-constant value
such as
- that is our last nightmare.
It runs now on backups, but runs well.
Thanks Andi,
Maxim Maletsky
-Original Message-
From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 4:15 PM
To: [EMAIL PROTECTED]; Maxim Maletsky; 'Vlad Krupin'
Cc: 'PHP General List. (E-mail)'; [EMAIL
?
If that would be so, then we'd hear lots of such complains from users
upgrading to v4.0.5. After all it is just an '//'!
I am gonna try it now on my test linux.
I'll let you know.
Maxim Maletsky
-Original Message-
From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 4:57 PM
Can you try the latest snapshot from snaps.php.net and let us know if it
works for you now?
Andi
At 06:01 PM 5/6/2001 +0800, Jude wrote:
wel then it's up to you.. goodluck!
=)
-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 11:25 AM
To:
There is a bug in PHP 4.0.6 which affects PHP users who use the memory
limit option. (i.e. developers who include --enable-memory-limit in their
configure line).
The patch is posted at http://www.php.net/downloads.php. If you don't use
this option there is no need for you to download and apply
];
+ #if MEMORY_LIMIT
+AG(allocated_memory) -=
REAL_SIZE(ptr-size);
+ #endif
REMOVE_POINTER_FROM_LIST(ptr);
free(ptr);
}
/start
-Stathis.
Andi Gutmans wrote:
There is a bug in PHP
At 10:17 PM 7/1/2001 +0300, Rouvas Stathis wrote:
It is indeed strange, since in the sources I have (downloaded about a
week ago), I already have the exact source that the patch presents
(without the lines prefixed with +).
I'm looking at $PHPHOME/Zend/zend_alloc.c file.
Am I to suppose that
At 10:49 PM 7/1/2001 +0300, Rouvas Stathis wrote:
Andi Gutmans wrote:
At 10:17 PM 7/1/2001 +0300, Rouvas Stathis wrote:
It is indeed strange, since in the sources I have (downloaded about a
week ago), I already have the exact source that the patch presents
(without the lines prefixed
At 06:27 PM 6/29/2001 -0500, Dean Hall wrote:
Okay, perhaps I need to spend some more time studying language
compilers/interpreters, but I've got a question regarding object creation in
the PHP core.
Basically, what, internally, is part of a PHP object (class instantiation)?
I know Zend started
Does this variable need to be a true global?
If it does then it has to be mutexed. Having said that if two threads want
to change it and you think it doesn't really matter which one will "win"
then you can probably live without the mutex.
Andi
At 10:35 AM 2/5/2001 +, James Moore wrote:
andiMon Feb 12 07:47:38 2001 EDT
Modified files:
/php4/main safe_mode.c
Log:
- Fix warning
PR:
Submitted by:
Reviewed by:
Obtained from:
Index: php4/main/safe_mode.c
diff -u php4/main/safe_mode.c:1.25 php4/main/safe_mode.c:1.26
---
$foo[bar] only works for backwards compatibility. In fact writing bar
without '' means that it's a constant and if that constant value is defined
it will be substituted instead of the bar. If it's not defined it defaults
to the string 'bar'.
So if you want to do it right (and faster) do
Derick,
You should not enable this function if ZEND_WIN32 is defined or ZTS=1
(Thread Safety).
Andi
At 10:48 AM 2/14/2001 +, Derick Rethans wrote:
derick Wed Feb 14 02:48:49 2001 EDT
Modified files:
/php4/ext/standard basic_functions.c dir.c php_dir.h
Log:
- Added
ZTS is 0 or 1 but always defined.
So that needs to be changed. I'd do it but I'm very late for something and
need to run.
Andi
At 05:21 AM 2/15/2001 +, Sascha Schumann wrote:
sas Wed Feb 14 21:21:28 2001 EDT
Modified files:
/php4 configure.in
At 05:31 PM 2/17/2001 +, Sascha Schumann wrote:
sas Sat Feb 17 09:31:36 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add initial CTCP handling and fix a possible segfault in ircg_msg()
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.25
You only have the module globals during requests (rinit/rshutdown). You
can't access them in module init/module shutdown.
Andi
At 11:35 PM 2/20/2001 +, Emiliano Heyns wrote:
emile Tue Feb 20 15:35:35 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
Because thread-wide globals are only available when you're actually in the
thread (during a request) and not when the process starts up. If you need
true globals you can just use globals.
Andi
At 12:34 PM 2/22/2001 +0100, Thies C. Arntzen wrote:
On Thu, Feb 22, 2001 at 01:26:45PM +0200, Andi
Yes. It will call your init_globals just in time, usually on your first
access to the data if I remember correctly. Your fix is correct. I didn't
see it when I sent that Email.
Andi
At 12:37 PM 2/22/2001 +0100, Emiliano wrote:
Andi Gutmans wrote:
You only have the module globals during
Are you sure you shouldn't be using zval_ptr_dtor(args[0]) as opposed to
zval_dtor(). I see you guys doing this a lot and usually you'd want to use
zval_ptr_dtor(). It reduces reference count and only if the zval really
needs freeing does it run zval_dtor() and efree(). In any case, you guys
andiSun Feb 25 22:07:42 2001 EDT
Modified files:
/php4 dynlib.m4 run-tests.php
/php4/ext/aspellaspell.c php_aspell.h
/php4/ext/bcmathbcmath.c php_bcmath.h
/php4/ext/bz2 bz2.c php_bz2.h
/php4/ext/calendar cal_unix.c
andiMon Feb 26 07:49:38 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
- Fix whitespace
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.192 php4/ext/standard/string.c:1.193
--- php4/ext/standard/string.c:1.192Mon
andiMon Feb 26 10:14:32 2001 EDT
Modified files:
/php4 configure.in
/php4/ext/gettext php_gettext.h
/php4/ext/icap php_icap.c
/php4/ext/imap php_imap.h
/php4/ext/mcal php_mcal.c
/php4/ext/mcryptphp_mcrypt.h
andiTue Feb 27 12:16:36 2001 EDT
Modified files:
/php4/ext/oci8 oci8.c
/php4/ext/readline readline.c
/php4/ext/sablotsablot.c
/php4/ext/session mod_user.c
/php4/ext/standard assert.c
/php4/ext/xml xml.c
Log:
-
andiFri Mar 2 07:25:52 2001 EDT
Modified files:
/php4/sapi/nsapinsapi.c
Log:
- Commit NSAPI patches.
Index: php4/sapi/nsapi/nsapi.c
diff -u php4/sapi/nsapi/nsapi.c:1.16 php4/sapi/nsapi/nsapi.c:1.17
--- php4/sapi/nsapi/nsapi.c:1.16Sun Feb
Daniel,
Why not use virtual_filepath() always and make one case out of your code.
It also works in non VIRTUAL_DIR mode. There shouldn't really be #ifdef's
in the PHP code (TSRM takes care of it). If it's a specific problem we can
think of how to fix it.
Andi
At 09:39 PM 4/3/2001 +,
Can we roll an RC7 soon and get this 4.0.5 over with? :)
Maybe we should get people to test the latest CVS first to make sure your
patch didn't break anything.
We need a working 4.0.5.
Thanks!
Andi
At 08:46 PM 4/4/2001 +, Jani Taskinen wrote:
sniper Wed Apr 4 13:46:27 2001 EDT
andiThu Apr 5 06:22:02 2001 EDT
Removed files: (Branch: PHP_4_0_5)
/php4 README.BCMATH
Log:
Remove README.BCMATH
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
andiThu Apr 5 06:23:33 2001 EDT
Removed files:
/php4 README.BCMATH
Log:
- Nuke README.BCMATH
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Edin,
Thanks for taking care of this!
Andi
-Original Message-
From: Edin Kadribasic [mailto:[EMAIL PROTECTED]
Sent: Friday, January 05, 2007 5:28 AM
To: PHP internals; php-general@lists.php.net
Subject: [PHP-DEV] FastCGI optmized Windows build of 5.2.1RC2
Hello,
I have made
Btw, contrary to what many believe, 32bit PHP tends to perform better
than 64bit PHP.
So unless there's a really good reason why you want 64bit I wouldn't
waste too much time on that.
Andi
-Original Message-
From: steve [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2008
Just curious. What does their pragma do?
Andi
At 03:16 AM 4/10/2001 +, Jason Greene wrote:
jason Mon Apr 9 20:16:06 2001 EDT
Modified files:
/php4/ext/sockets sockets.c
Log:
Fix for PR #9729, 9664, 9656, 8667.
All compilers on Solaris should build this
Oh is all of pear out of the PHP CVS now?
Andi
At 01:42 AM 4/12/2001 -0400, Stig Sther Bakken wrote:
[Andrei Zmievski [EMAIL PROTECTED]]
On Tue, 10 Apr 2001, Derick Rethans wrote:
hrm,
is it really needed to add 3.6MB of stuff to the PHP cvs?
Grr, I agree. Maybe it can wait
This should go into 4.0.5 if it's in that branch because it's quite a bug.
Andi
At 07:03 PM 4/15/2001 +, Alexander Feldman wrote:
sasha Sun Apr 15 12:03:13 2001 EDT
Modified files:
/php4/ext/standard file.c
Log:
Fixed typo.
Index: php4/ext/standard/file.c
diff -u
andiWed Apr 18 21:02:03 2001 EDT
Modified files:
/php4/ext/iconv iconv.c
Log:
- WS
Index: php4/ext/iconv/iconv.c
diff -u php4/ext/iconv/iconv.c:1.10 php4/ext/iconv/iconv.c:1.11
--- php4/ext/iconv/iconv.c:1.10 Thu Mar 29 01:37:09 2001
+++
Why do you need that SEPARATE_ZVAL()? You seem to be using pv_row as read-only.
Also can you please try not to commit \r\n but only \n?
Thanks,
Andi
At 02:31 AM 4/19/2001 +, Dan Kalowsky wrote:
kalowskyWed Apr 18 19:31:23 2001 EDT
Modified files:
/php4/ext/odbc
andiWed Apr 18 21:16:28 2001 EDT
Modified files:
/php4/ext/odbc php_odbc.c
Log:
- \r\n - \n
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.79 php4/ext/odbc/php_odbc.c:1.80
--- php4/ext/odbc/php_odbc.c:1.79 Wed Apr 18
andiThu Apr 19 14:42:45 2001 EDT
Modified files:
/php4/ext/odbc php_odbc.c
Log:
- Use memcpy() instead of strlcpy() which is faster.
Index: php4/ext/odbc/php_odbc.c
diff -u php4/ext/odbc/php_odbc.c:1.81 php4/ext/odbc/php_odbc.c:1.82
---
andiSat Apr 21 04:40:05 2001 EDT
Modified files:
/php4/main php_ini.c
Log:
- Get rid of warning.
Index: php4/main/php_ini.c
diff -u php4/main/php_ini.c:1.55 php4/main/php_ini.c:1.56
--- php4/main/php_ini.c:1.55Sat Mar 17 15:35:32 2001
+++
I don't want to get into it but you had a big problem with config.m4
changes during RC's when I added the fastcgi support.
Anyway no need to make a big deal about it but you almost killed me back
then as config.m4 could potentially create problems for the whole release.
Andi
At 09:47 PM
Are you sure this patch is right? It seems a bit odd. You shouldn't really
have NULL pointers in strings which are passed to convert_to_string_ex().
Andi
At 11:40 PM 4/22/2001 +, Sterling Hughes wrote:
sterlingSun Apr 22 16:40:34 2001 EDT
Modified files:
I don't think there are any problems with the space in the path name.
If there are we are better off finding them and fixing them instead of
defaulting to c:\php4. I think we should follow the Windows standard on
Windows. I know that I hate when programs want to install themselves in c:\
on
andiTue Apr 24 21:22:30 2001 EDT
Modified files:
/php4/ext/standard filestat.c
Log:
- Fix problem with is_link(), there seem to be at least another couple of
- bugs lurking around though.
- Cleaned up code a bit and optimized it a bit too.
Index:
andiTue Apr 24 22:43:31 2001 EDT
Modified files:
/php4/ext/standard filestat.c
Log:
- Nuke warning. This signed/unsigned stuff gets really annoying sometimes.
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.58
andiTue Apr 24 22:53:45 2001 EDT
Modified files:
/php4/ext/standard filestat.c
Log:
- Another fix
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.59 php4/ext/standard/filestat.c:1.60
--- php4/ext/standard/filestat.c:1.59
andiTue Apr 24 23:30:24 2001 EDT
Modified files:
/php4/ext/standard filestat.c
Log:
- Fix filetype() and lstat() too.
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.60 php4/ext/standard/filestat.c:1.61
---
Frank,
Don't forget not to use C++ comments.
Thanks,
Andi
At 06:01 PM 4/25/2001 +, Frank M. Kromann wrote:
fmk Wed Apr 25 11:01:23 2001 EDT
Modified files:
/php4/ext/fbsql php_fbsql.c
Log:
make fbsql_field_flags return a value
Index:
Do you mean eval()? It evaluates code which is a string, for example:
eval ('print(2);');
If you can develop your application without using eval() you're better off
as it is very slow.
Andi
At 11:29 AM 4/29/2001 +, ~~~i LeoNid ~~ wrote:
require(?)
--
PHP General Mailing List
At 04:57 PM 4/29/2001 +0200, Luca wrote:
Andi Gutmans [EMAIL PROTECTED] wrote:
Do you mean eval()? It evaluates code which is a string, for example:
eval ('print(2);');
If you can develop your application without using eval() you're better off
as it is very slow.
Unfortunately eval
At 05:13 PM 4/29/2001 +0200, Luca wrote:
Luca [EMAIL PROTECTED] wrote:
Unfortunately eval() is not what I need.
I was wrong. From a user contributed note in the online manual:
To include HTML in the string passed to eval, precede it with a PHP
closing tag. Once you have finished your HTML
At 06:42 PM 4/29/2001 +0200, Luca wrote:
Andi Gutmans [EMAIL PROTECTED] wrote:
Sometimes eval() is the right solution.
I can't think of a solution if I don't know *exactly* what you are
trying to do and why you need eval().
Yes, I'm sorry, I should have explained myself better. I'm just
You are best off using flex instead of your system lex. You can download it
from ftp.gnu.org
Andi
At 07:59 AM 4/30/2001 -0700, Surinder Singh wrote:
Hi,
I got problem while building PHP on Solaris8/SPARC.
I tried buildconf, then configure and then make. I got stuch at make. But
giving here
By the way, while you're at it get bison too (instead of YACC :)
Andi
At 07:59 AM 4/30/2001 -0700, Surinder Singh wrote:
Hi,
I got problem while building PHP on Solaris8/SPARC.
I tried buildconf, then configure and then make. I got stuch at make. But
giving here the output of buildconf and
On Tue, 5 Nov 2002 [EMAIL PROTECTED] wrote:
Can anybody tell me if PHP 4.3.0 will use Zend Engine 2?
Hi,
The Zend Engine 2 is likely to appear officially only in PHP 5.
However, I have released a couple of alphas with the Engine 2 bundled
against the latest CVS of PHP (i.e. almost PHP 4.3.0).
Hi,
We tried to keep PHP 5 as much backwards compatible as possible.
However, due to the object model change and major improvements in the XML
extensions there might be some issues which you'll need to address.
IIRC, mysqladmin runs out of the box with PHP 5 and so do many other
applications.
In
The PHP development team is proud to announce the release of PHP 5 Release
Candidate 1.
Some of the key features of PHP 5 include:
- The Zend Engine II with a new object model and dozens of new features.
- XML support has been completely redone in PHP 5, all extensions are now
focused around
We are looking into it right now. Hopefully we will have a new version or
at least a release candidate within 2 weeks.
At 11:08 AM 12/30/2004 +0200, Tohar Trabinovitch wrote:
--
Hi,
I need to know when will be the next PHP 4.3.x release with the fix for
the COM bug which was in 4.3.10.
This
The PHP development team is proud to announce the official release of PHP 5.
Some of the key features of PHP 5 include:
- The Zend Engine II with a new object model and dozens of new features.
- XML support has been completely redone in PHP 5, all extensions are now
focused around the excellent
The PHP Development Team is glad to announce the release of PHP 5.0.1.
This release is a maintenance release consisting mainly of bug fixes. It
also includes new installation docs which are
now auto-generated directly from the PHP Manual (INSTALL in the UNIX source
package, install.txt in the
The PHP Development Team is proud to announce the immediate release of PHP
5.0.2.
This is a maintenance release that in addition to many non-critical bug
fixes, addresses a problem with GPC input processing.
All Users of PHP 5 are encouraged to upgrade to this release as soon as
possible.
For
74 matches
Mail list logo