On Thu, 10 Jun 2004 00:50:46 +1200, Jevon Wright <[EMAIL PROTECTED]> wrote:
'c:\\windows\\system32' becomes 'c:\windows\system32' in memory (the
slashes are stripped).
I know it :)
stripslashes() will make it 'c:windowssystem32'. Thus the above tests
will fail.
Yes. The current version of stri
Thanks Peter,
I'm not sure what went on then - I got all the bouncer replies from
php-install (sent the list to systems for removal), but the message appeared
on this list, not php-install.
Anyway, apologies for the spam.
"Peter 'Iridium' Waller" <[EMAIL PROTECTED]> wrote in message
news:[EMAI
Um, that's the type of thing that a quick test could tell you, isn't it?
John
On Wed, 2004-06-09 at 20:53, l0t3k wrote:
> lets try again
> in an OOP extension using methods NOT tagged as ZEND_ACC_STATIC,
> does ZE2
> prevent them from being called statically or do i always need to do :
>
>
I'm developing a PEAR Package which contains a class for Image Manipulation
(greyscale, resizing, text, coloring, png overlays) and much more. And now, CVS is
pretty good to manage my project.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsu
lets try again
in an OOP extension using methods NOT tagged as ZEND_ACC_STATIC,
does ZE2
prevent them from being called statically or do i always need to do :
if (!getThis()) {
ERROR("Cannot call this method statically");
RETURN_FALSE;
}
l0t3k
--
PHP Interna
in an OOP extension using methods tagged as ZEND_ACC_STATIC, does ZE2
prevent them from being called statically or do i always need to do :
if (!getThis()) {
ERROR("Cannot call this method statically");
RETURN_FALSE;
}
l0t3k
--
PHP Internals - PHP Runtime Developme
Hi,
I'm having trouble with output buffering limitation
and the output_callback function of ob_start.
look at this script :
it outputs : "Fatal error: ob_start(): Cannot use
output buffering in output buffering display handlers"
Why then ? It would be a killer feature for my next
killer app
Good people, consider this, and tell me what's right and what's wrong:
name = $param2."\n";
print($this->name);
}
}
class sonOfBlah extends blah {
function __construct($param) { // overwriting the constructor is allowed
$this->name = $param."\n";
print($this->name
On Wed, 9 Jun 2004, Adam Maccabee Trachtenberg wrote:
> Right now, if you're using the pre-built Windows binaries, you can use
> cURL to make an SSL request, but you can't use an https stream.
Um. Nevermind. I am an idiot.
-adam
--
[EMAIL PROTECTED]
author of o'reilly's php cookbook
avoid the
Developing the PHP runtime, Translating the documentation and if possible, Maintaining
www.php.net
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
I'm willing to work with the Arabic documentation team.
so i'm requesting a CVS login
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Adam Maccabee Trachtenberg wrote:
Right now, if you're using the pre-built Windows binaries, you can use
cURL to make an SSL request, but you can't use an https stream.
I'm guessing from this that OpenSSL is already on the box that creates
the binaries, and we just need to modify the build script t
Right now, if you're using the pre-built Windows binaries, you can use
cURL to make an SSL request, but you can't use an https stream.
I'm guessing from this that OpenSSL is already on the box that creates
the binaries, and we just need to modify the build script to enable
it. If somebody had the
I will be using my CVS account to maintain English documentation for PHP-GTK.
Steph sent me. :-)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
I am going to develop the ID3 extension with Stephan Schmidt <[EMAIL PROTECTED]> and
need an account to be able to keep on developing when he switches from our own CVS
into the PHP-CVS. He has already announced this extension in PECL and started a thread
in the PECL mailing-list.
--
PHP Intern
> I think, and I could be completely wrong, that copying a variable actually
> creates a reference. The data is only copied when the variable referenced
is
> modified.
>
That's true. What I left out of my explanation (in order to keep it simple)
is that when you "copy" a variable, a new label is c
FYI: Both the mssql and mysqli extensions missing from RC3 are now available
on snaps.php.net.
> -Original Message-
> From: Antony Dovgal [mailto:[EMAIL PROTECTED]
> Sent: 09 June 2004 10:21
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-DEV] [Fwd: php5 rc3 win32 mysqli-extension is missing]
Aidan Lister wrote:
This is a test message to detect any automated spam. Please don't reply, or
you may be removed from the list accidently.
[09-06 15:34:19] "This is a test message to detect any
automated spam. Please don't reply, or
[09-06 15:34:19] you may be removed from the list accidently.
In general, if you don't mean for it to be a reference semantically, you
are best off not using references at all. PHP will do the right thing.
Andi
At 10:32 AM 6/9/2004 +0200, Bert Slagter wrote:
Derick Rethans wrote:
On Wed, 9 Jun 2004, Stephan Schmidt wrote:
Yes, that is correct.
No, it is not
> echo "Stripslashes test: ";
> ini_set('magic_quotes_sybase', 0);
> $s = 'c:\\windows\\system32';
> $s1 = '\\';
> if ($s == stripslashes($s) && $s1 == stripslashes($s1)) echo "OK\n";
> else echo "FAILED\n";
> ?>
'c:\\windows\\system32' becomes 'c:\windows\system32' in memory (the slashes
are str
On Wed, 09 Jun 2004 14:17:33 +0300
"Alexander Valyalkin" <[EMAIL PROTECTED]> wrote:
> On Wed, 9 Jun 2004 15:00:30 +0400, Antony Dovgal
> <[EMAIL PROTECTED]> wrote:
>
> > On Wed, 09 Jun 2004 13:52:42 +0300
> > "Alexander Valyalkin" <[EMAIL PROTECTED]> wrote:
> >
> >> On Tue, 8 Jun 2004 16:03:19 +
> > Ok. First of all, my version of the stripslashes() solves following
> > bugs:
> > #9437
> > #19947
> > #27848
>
> All these bugs were marked as 'bogus' (yeah, the first one is bogus too,
> dunno why it's 'closed').
> So, personally I can't understand what are you trying to fix, if nothing
> is
On Wed, 9 Jun 2004 15:00:30 +0400, Antony Dovgal <[EMAIL PROTECTED]>
wrote:
On Wed, 09 Jun 2004 13:52:42 +0300
"Alexander Valyalkin" <[EMAIL PROTECTED]> wrote:
On Tue, 8 Jun 2004 16:03:19 +0200 (CEST), Derick Rethans
<[EMAIL PROTECTED]> wrote:
Ok. First of all, my version of the stripslashes()
On Wed, 09 Jun 2004 13:52:42 +0300
"Alexander Valyalkin" <[EMAIL PROTECTED]> wrote:
> On Tue, 8 Jun 2004 16:03:19 +0200 (CEST), Derick Rethans
> <[EMAIL PROTECTED]> wrote:
> Ok. First of all, my version of the stripslashes() solves following
> bugs:
> #9437
> #19947
> #27848
All these bugs were
On Tue, 8 Jun 2004 16:03:19 +0200 (CEST), Derick Rethans <[EMAIL PROTECTED]>
wrote:
You'll have to proof that by writing testcases, for example try it with
the test cases in the current source and write new ones for things that
we don't have a test case for yet.
-PHPAPI void php_stripslashes(cha
On Tue, 08 Jun 2004 12:51:33 +0200, Morten K. Poulsen
<[EMAIL PROTECTED]> wrote:
On Tue, 2004-06-08 at 11:32, Alexander Valyalkin wrote:
+/* get the length of local file connected to descriptor fd */
fstat(fd, &sbuf);
[snip]
+if (errno) {
Oh-oh! You need to check the ret
Hi Goba!
Plz, take a look at bug #28701.
I believe it's a known issue.
---
WBR,
Antony Dovgal aka tony2001
[EMAIL PROTECTED] || [EMAIL PROTECTED]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--- Begin Message ---
hello folks,
it seems you forgot the mysqli-extension in the new rc3 release for win32
.
temporarily im using the rc2-mysqli ... but ... would you please update
the release ?
yours,
kai
--
Kai Meder
Bechtle IT-Systemhaus Mannheim
Tel: 0621 / 87503-167
--- En
Derick Rethans wrote:
On Wed, 9 Jun 2004, Stephan Schmidt wrote:
Yes, that is correct.
No, it is not. 'copying' a variable copies the structure to contain the
variable, but not the data, but does NOT make a reference as that's a
different concept.
You are right that the data associated with a vari
On Wed, 9 Jun 2004, Stephan Schmidt wrote:
> Hi,
>
> > I think, and I could be completely wrong, that copying a
> > variable actually
> > creates a reference. The data is only copied when the
> > variable referenced is
> > modified.
> Yes, that is correct.
No, it is not. 'copying' a variable copi
Hi,
> I think, and I could be completely wrong, that copying a
> variable actually
> creates a reference. The data is only copied when the
> variable referenced is
> modified.
Yes, that is correct.
Stephan
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://w
I think, and I could be completely wrong, that copying a variable actually
creates a reference. The data is only copied when the variable referenced is
modified.
"Bert Slagter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Sara Golemon wrote:
> > Every "variable" in PHP is a pair
Sara Golemon wrote:
Every "variable" in PHP is a pair.
>
> [cut]
$foo = 1;
/*$foo (label) >1 (value) (is_ref=0, refcount=1) */
$bar = &$foo;
/* $foo (label) -->1 (value) */
/* $bar (label) ---/ is_ref=1, refcount=2 */
Hope that helps.
-Sara
Thanks fo
33 matches
Mail list logo