I'm trying to document how objects are passed to functions in php5,
but am running into some troubles.
In the code below the object appears to be a reference but when the
original object is destoyed it still somehow exists. Can someone
explain how this is? I was going to report a bug on this but
Sara Golemon wrote:
I fixed it by moving the arpa/inet.h include above the php_standard.h
include, but I'm not sure if this would be the correct solution.
Hmm this doesn't work either as it makes the PHP function name
__inet_ntop().
I just committed what should be a fix. If it still mangles the us
Hello,
The documentation team has re-wroten the installation part of the manual.
We have also made a process to generate the INSTALL and win32/instal.txt
files automatically from the manual. This will ensure that the files are
always sync'ed with the on-line manual.
I've posted the files at:
http
I just discovered (via the RTFS method) that there is an object-level
interface to the sqlite functionality, $obj = new SQLiteDatabase(filename);
It appears that there are SQLiteQuery and a few other object types as well,
although I didn't pursue those.
In searching the documentation on the web si
On Mon, Aug 02, 2004 at 10:55:27AM +0200, Derick Rethans wrote:
> On Fri, 23 Jul 2004, Joe Orton wrote:
>
> > Building the bundled libgd library into PHP causes symbol namespace
> > pollution; if any other Apache modules link a different version of libgd
> > into the Apache process they may instea
> > I fixed it by moving the arpa/inet.h include above the php_standard.h
> > include, but I'm not sure if this would be the correct solution.
> >
>
> Hmm this doesn't work either as it makes the PHP function name
> __inet_ntop().
>
I just committed what should be a fix. If it still mangles the us
> Strings are cheap in Java too. The issue is object creation and cleanup. When the
> strings are very large or very numerous, we could be talking about thousands of
> substrings per page hit. This increases the strain on both the clock speed and the
> memory of the host machine. Theory asid
Hello,
On Sat, Aug 07, 2004 at 09:42:04AM -0400, [EMAIL PROTECTED] wrote:
> Hi Wez. Here are some clarifications...
>
> On 8/7/2004 Wez. wrote:
> >I suppose we could add that. Keep in mind that strings in PHP aren't
> >hugely expensive unless you are doing something wrong (tm) like using
> >10MB
Hi Wez. Here are some clarifications...
On 8/7/2004 Wez. wrote:
>I suppose we could add that. Keep in mind that strings in PHP aren't
>hugely expensive unless you are doing something wrong (tm) like using
>10MB strings.
Strings are cheap in Java too. The issue is object creation and cleanup. W
On Sat, 07 Aug 2004 09:14:35 -0400, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> (1) Writing an arbitrary substring of a string directly to a stream without first
> creating a string object for the substring. I.E. There is no print($string, $start,
> $length) or fwrite($resource, $string, $len
Hello PHP gurus,
The php-general list does not believe that PHP allows me to do either of the following:
(1) Writing an arbitrary substring of a string directly to a stream without first
creating a string object for the substring. I.E. There is no print($string, $start,
$length) or fwrite($res
I documented this under e modifier: "Single and double quotes are
escaped by backslashes in substituted backreferences."
Decision if the behavior will change is up to the others.
You can use preg_replace_callback() instead of e modifier. It doesn't
escape quotes and is more PHPish :-).
Jakub Vrá
Dave Barr wrote:
I fixed it by moving the arpa/inet.h include above the php_standard.h
include, but I'm not sure if this would be the correct solution.
Hmm this doesn't work either as it makes the PHP function name
__inet_ntop().
Dave
--
PHP Internals - PHP Runtime Development Mailing List
To u
Sara Golemon wrote:
pollita Sat Aug 7 00:50:25 2004 EDT
Modified files:
/php-src/ext/standard basic_functions.c basic_functions.h
/php-src NEWS
Log:
New Functions inet_pton() and inet_ntop()
+#ifdef HAVE_INET_NTOP
+ PHP_FE(inet_ntop,
14 matches
Mail list logo