Hey,
I'd like to commit the realpath() patch I sent to the list for review a
week or so ago. Unless there are any objections I'll commit it (to HEAD) in
1-2 days. This will give it some more exposure and will have more people
testing it.
Andi
--
PHP Internals - PHP Runtime Development Mailing L
Solved:
find . | xargs touch
Thanks,
Manuel.
"Robert Silva" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Try google('Clock skew detected');
-Original Message-
From: Manuel Vázquez Acosta [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 2:33 PM
To: [EMAIL PROTE
Try google('Clock skew detected');
-Original Message-
From: Manuel Vázquez Acosta [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 2:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] New to PHP internals
Hi all:
I'm very new to PHP internals, and I would like to get some help:
On Thu, 2004-09-30 at 23:10, Jason Garber wrote:
> Hello internals,
[...]
> If there is no better way, perhaps we could add constant called
> (SAPI_TYPE = 'CLI') or something like that to the language to
> facilitate this?
$ php -r 'var_dump(PHP_SAPI);'
string(3) "cli"
get_defined_constants
Hello Marcus,
Ok, Ok. I admit it.
I made the POINT of reading the CLI manual page before posting this,
but I just missed it.
Sorry for the trouble, and, thanks for the help.
--
Best regards,
Jasonmailto:[EMAIL PROTECTED]
Thursday, September 30, 2004, 5:50
PHP_SAPI constant or php_sapi_name
-Original Message-
From: Jason Garber [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 30, 2004 2:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] CLI Constant
Hello internals,
What is the best way, from within a php script, to tell that the
scr
Hello Jason,
you lazy doc reader :-)
php -r 'var_dump(php_sapi_name());'
best regards
marcus
Thursday, September 30, 2004, 11:10:01 PM, you wrote:
> Hello internals,
> What is the best way, from within a php script, to tell that the
> script is being run on the command line?
> I'v
Jason Garber wrote:
Hello internals,
What is the best way, from within a php script, to tell that the
script is being run on the command line?
I've used if(defined('STDIN')) but that seems kind of kludgey.
If there is no better way, perhaps we could add constant called
(SAPI_TYPE = 'CL
Checkout the PHP_SAPI constant .
Edin
- Original Message -
From: "Jason Garber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 30, 2004 11:10 PM
Subject: [PHP-DEV] CLI Constant
> Hello internals,
>
> What is the best way, from within a php script, to tell that
Jason Garber wrote:
> Hello internals,
>
> What is the best way, from within a php script, to tell that the
> script is being run on the command line?
>
> I've used if(defined('STDIN')) but that seems kind of kludgey.
I've used
if (php_sapi_name() == 'cli') ...
which seems to work wel
On Sep 30, 2004, at 5:10 PM, Jason Garber wrote:
Hello internals,
What is the best way, from within a php script, to tell that the
script is being run on the command line?
I've used if(defined('STDIN')) but that seems kind of kludgey.
If there is no better way, perhaps we could add const
php_sapi_name()
On Thu, 30 Sep 2004, Jason Garber wrote:
> Hello internals,
>
> What is the best way, from within a php script, to tell that the
> script is being run on the command line?
>
> I've used if(defined('STDIN')) but that seems kind of kludgey.
>
> If there is no better way,
Hi all:
I'm very new to PHP internals, and I would like to get some help:
I added a few lines of code to sapi_apache.c and mod_php4.c (from original
source of php-4.3.8); but when I make I get:
make: warning: Clock skew detected. Your build may be incomplete.
What I'm missing here. Please, be
Hello internals,
What is the best way, from within a php script, to tell that the
script is being run on the command line?
I've used if(defined('STDIN')) but that seems kind of kludgey.
If there is no better way, perhaps we could add constant called
(SAPI_TYPE = 'CLI') or something
Hello Michael,
Thursday, September 30, 2004, 9:19:12 PM, you wrote:
>> 1. static classes:
>> static classes can only contain static methods and attributes
>>
> what would be even easier than the above:
> if a class is declared "static" or "final static", the attributes and
> methods in that
> 1. static classes:
> static classes can only contain static methods and attributes
>
what would be even easier than the above:
if a class is declared "static" or "final static", the attributes and
methods in that function are static by default, so you don't need to
type static on every method a
I forgot to explain why did I added this option to the list of supported
options:
when you implement a transparent proxy, the routing kernel makes a destination
address NAT and changes it to 127.0.0.1 and some port you declare when you
instruct the kernel to do the redirection through iptables
This patch adds some quite useful functionalities to socket_get_options()
function.
1st of all, it adds the constant SOL_IP to indicate IP layer in the level
parameter.
2nd, and the most important, it adds the SO_ORIGINAL_DST constant for the
optname parameter, and adds this functionality of c
Hi folks,
When working on a new WinBinder demo, I found out that php_win.exe (for PHP
4, from PHP-GTK) crashes when called from a folder with spaces. For example,
c:\PHP\myapp\php_win.exe runs fine, but c:\Program Files\myapp\php_win.exe
consistently crashes. This can be a problem for Windows us
Attached is a patch that fixes this problem. The problem seems to occur
when a \r is the last char in the data buffer.
--
Chris Field
[EMAIL PROTECTED]
Affinity Solutions Inc.
350 5th Avenue
22nd Floor
New York, NY 10118
(212) 822-9620
--- php-4.3.8/ext/ftp/ftp.c 2004-03-31 15:44:04.00
Val's CVS account should now be working.
--Wez.
On Thu, 30 Sep 2004 17:22:03 +0800, Alan Knowles <[EMAIL PROTECTED]> wrote:
> I asked val khokhlov, to request a CVS account - he's been doing most of
> the work on bcompiler recently. - He said he's posted the request, but
> I've not seen the reque
Hi,
I observed a long standing bug in the implementation of printf. When you
want to reuse arguments using the %n$s syntax, printf wants one argument
too many. Please review the attached patch and let me know if it can be
commited.
I created bug 29733 for this. http://bugs.php.net/bug.php?id=2973
I asked val khokhlov, to request a CVS account - he's been doing most of
the work on bcompiler recently. - He said he's posted the request, but
I've not seen the request posted to internals (Derick things something
is probably broken there).
Let val know if you need him to repost the form.
Rega
23 matches
Mail list logo