use the cli not cgi:
[EMAIL PROTECTED] moshe]$ php -v
PHP 4.3.2-dev (cli) (built: Feb 24 2003 18:43:23)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
[EMAIL PROTECTED] moshe]$ echo ?php echo \hi\; ? | php
[EMAIL PROTECTED] moshe]$
Dan
Hi,
So there is no upgrade path for the cgi - it's lost this functionality?
(please confirm, as that breaks backward compatability for alot of my
scripts)
Surely the CGI should be able to handle piping too? [btw: if I build a CLI
version, I get the same problem... Im guessing that its caused by
Are maintainers of extensions automagically notified of bugs submitted
regarding the ext's they maintain ?
Corne'
!Exclude Disclaimer!
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
So there is no upgrade path for the cgi - it's lost this functionality?
(please confirm, as that breaks backward compatability for alot of my
scripts)
well, i'm not the right person asking him just tried helping.
version, I get the same problem... Im guessing that its caused by one of
the
No.
--Jani
On Wed, 26 Feb 2003, Corne' Cornelius wrote:
Are maintainers of extensions automagically notified of bugs submitted
regarding the ext's they maintain ?
Corne'
!Exclude Disclaimer!
--
- For Sale! -
--
PHP Development Mailing List http://www.php.net/
To
Hi everyone:
This may well be a stupid question, but I've spend enough time staring
blankly at zend_compile.c/zend_execute.c that I figured it was time to
ask. :)
Say I have a section of code like this:
?php
$s1 = 'foo' . 'bar' . 'baz';
$s2 = 'foobarbaz';
?
In the PHP bytecode (I hope I'm
On Wed, 26 Feb 2003, David Brown wrote:
This may well be a stupid question, but I've spend enough time staring
blankly at zend_compile.c/zend_execute.c that I figured it was time to
ask. :)
Say I have a section of code like this:
?php
$s1 = 'foo' . 'bar' . 'baz';
$s2 = 'foobarbaz';
It's the job of an optimizer, not of a compiler. And because PHP
doesn't
have an internal optimizer, this is not optimized out. You can either
check the ZendOptimiser (I can't show you the opcodes that that
generates) or PEAR::Optimizer, which is in Pecl (which might not do
this
optimization yet
On Wed, Feb 26, 2003 at 05:36:54PM +0100, Derick Rethans wrote:
| No, the engine doesn't do this at compile time. This first one produces:
|
| number of ops: 5
| line # op fetch ext operands
| ---
On Wed, 26 Feb 2003, David Brown wrote:
Okay. Makes complete sense. I was thinking more along the lines of
wouldn't it be nice if...?. I hadn't quite made it to where would
that belong?. :)
I'll check out the optimizers. I noticed that the new CVS version of APC
seems to have a
On Wed, 26 Feb 2003, David Brown wrote:
Is that output a ZEND_DEBUG thing, or is that an external tool?
It's an external tool: VLD from http://www.derickrethans.nl/vld.php
Derick
--
Stop mad cowboy disease!
4.3.1 works fine.
Shane
Dan Hardiker wrote:
Hey all,
echo ?php echo \hi\; ? | /path/to/php
That works on php v4.2.x but Ive got 3 machines on v4.3.x and none of them
seem to respond to the piping of the php config.
v4.2.x Response
HELP IN MAINTENANCE :
- help Pierre-Alain Joye [EMAIL PROTECTED] and pearfr.org to translate pear manual
and pear weekly news in french
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
I hope that this is not the wrong venue for this.
I've seen references to questions about this before, but is there any
tool similar to yacc, written in php?
I know that there is the tokenizer ext., which forms one half of the
equation. Perl, Python, etc, have their YAPP, and YAPPS tools. Is
On Sat, 22 Feb 2003, Daniel Lorch wrote:
I don't really know to start. I've made a patch and want to ask for
the offical way to bring this patch into the php engine (if this is
possible). [..]
This has been done several times now. Once by me, once by someone else,
and once by you. The
On 26 Feb 2003 18:15:42 -
Thierry Bothorel [EMAIL PROTECTED] wrote:
HELP IN MAINTENANCE :
- help Pierre-Alain Joye [EMAIL PROTECTED] and pearfr.org to
translate pear manual and pear weekly news in french
I confirm this request. See my post on peardoc ML. He needs access to
/peardoc and
I think we can add %option never-interactive to the ini-scanner lexer to
speed it up a tiny little bit. Speeding up the ini scanner might be
important for the folks running the cgi version. More importantly, to me
anyway, when we know we are not interactive, should we not
programmatically set
At 12:48 PM 2/26/2003 -0800, Rasmus Lerdorf wrote:
I think we can add %option never-interactive to the ini-scanner lexer to
speed it up a tiny little bit. Speeding up the ini scanner might be
important for the folks running the cgi version. More importantly, to me
anyway, when we know we are not
On Wed, 26 Feb 2003, Andi Gutmans wrote:
At 12:48 PM 2/26/2003 -0800, Rasmus Lerdorf wrote:
I think we can add %option never-interactive to the ini-scanner lexer to
speed it up a tiny little bit. Speeding up the ini scanner might be
important for the folks running the cgi version. More
On Wed, 26 Feb 2003, Andi Gutmans wrote:
At 12:48 PM 2/26/2003 -0800, Rasmus Lerdorf wrote:
I think we can add %option never-interactive to the ini-scanner lexer to
^
Yes, this is a good idea - INI files are never
On Thu, 20 Feb 2003 22:17:48 +0200
Jukka Holappa [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have reported at http://bugs.php.net/?id=22323 that it's impossible
to actually create png images that are partially transparent. I needed
that feature yesterday
All,
I am about to start a process of upgrading/moving all of the services
php.net offers. This is to take advantage of new servers, and to distribute
our load so that servers are not doing everything but instead optimized
and configured to be perfect for a particular service.
full details (or,
arabic php pear manual translation
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Pete James wrote:
I hope that this is not the wrong venue for this.
I've seen references to questions about this before, but is there any
tool similar to yacc, written in php?
It's not written in PHP - but it generates PHP code
have a look at http://php-sharp.sourceforge.net
In CVS is
phpLex a
hi
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
On 27 Feb 2003 05:27:24 -
Abbas El-Meslem [EMAIL PROTECTED] wrote:
hi
You don't need a CVS account to say hi.
/ Magnus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
hi richard
The problem with some of the VBA functions is that the first and last
parameter need to be set and the ones in the middle have no
meaning and
cannot be present. This can only be achieved by using named
parameters. The
GoTo method, as a function, in VBA would be ...
sooner or
Genius!
Thank you very much.
Can this example be added to the PHP Manual? All the online examples I've
seen relate to functions which you can pass the first few params and no
more. In this case having to pass the first and last param is not mentioned.
This simple example demonstrates the use of
Hi Harald.
The problem with some of the VBA functions is that the first and last
parameter need to be set and the ones in the middle have no meaning and
cannot be present. This can only be achieved by using named parameters. The
GoTo method, as a function, in VBA would be ...
MEMO
TEL :+31-621-454-271.
ATTN:
URGENT ASSISTANCE NEEDED
You may be surprise to receive this Email from me since you do not know me personally.
However, I would like to introduce myself. I am Mr. wesly mougata, the son of Dr.
Stephen Mougata who was murdered few
MEMO
TEL :+31-621-454-271.
ATTN:
URGENT ASSISTANCE NEEDED
You may be surprise to receive this Email from me since you do not know me personally.
However, I would like to introduce myself. I am Mr. wesly mougata, the son of Dr.
Stephen Mougata who was murdered few
On Mon, 24 Feb 2003, Rasmus Lerdorf wrote:
if (stream) {
if (self-is_pipe) {
stream-flags |= PHP_STREAM_FLAG_NO_SEEK;
} else {
stream-position = ftell(file);
}
}
We should be able to skip that ftell() call on a script or include
MEMO
TEL :+31-621-454-271.
ATTN:
URGENT ASSISTANCE NEEDED
You may be surprise to receive this Email from me since you do not know me personally.
However, I would like to introduce myself. I am Mr. wesly mougata, the son of Dr.
Stephen Mougata who was murdered few
On Tuesday 25 Feb 2003 10:55 am, wesleymougata wrote:
MEMO
snip
Just an idea, but why not have 2 lists rather than one.
One is php-dev, other is php-dev-post which ecoes content to php-dev and not
to any of it's subscribers and make this list subscriber postings only.
Ergo, when sombody
On Mon, 24 Feb 2003, Joseph Tate wrote:
Derick, would you post the SRPM for libtool?
sure,
http://files.derickrethans.nl/libtool-1.4.3-4.src.rpm
Derick
--
Stop mad cowboy disease!
I want to help to translate the php documentation in the german language. because
there are not all pages translatet i wanna help to do this.
i hope this is enough :)
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Admittedly, when opening the file for the first time, we do not need to
seek - so we can avoid it by passing a flag (OR'd with the REPORT_ERRORS
flag).
I'm sure we can eliminate those seeks. Are there any other areas in the
streams code that you can see that could do with a syscall
Hi, I need to know which is the correct new construct: class_name or
__construct.
From Zend_Changes:
The Zend Engine 2.0 introduces a standard way of declaring
constructor methods by calling them by the name __construct().
...
For backwards compatibility, if the Zend Engine 2.0 cannot find
a
From today's cvs
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.53 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13 and automake-1.5.
__construct is the new method of defining a constructor, but the 'bug' you
suspect is not a bug. The parser will search for a function of the same
name in the class as the constructor for backwards compatibility with Older
scripts, etc...
This is done by design, not by 'bugginess'.
~ Andrew
Andrew Heebner wrote:
This is done by design, not by 'bugginess'.
For backwards compatibility, if the Zend Engine 2.0 cannot find
a __construct() function for a given class, it will search for
the old-style constructor function, by the name of the class.
in the exmaple it uses the 'old style'
__construct is the new method of defining a constructor, but
the 'bug' you suspect is not a bug. The parser will search
for a function of the same name in the class as the
constructor for backwards compatibility with Older scripts, etc...
But shouldn't __construct() be searched for and used
Perhaps i may be mistaken, but it seems logical to search for the old-style
constructor first in order to be backwards compatible with old-style
scripts. Putting __construct in old style classes would yield a classname
of '__construct', an ugly and unlikely name for a class. Seeing as A::A()
I was asking myself -- I had assumed that __construct() would be
searched for first. I was /am under the impression __construct() is a
special function that the engine wouldn't allow you to use in PHP5 in
any other context than its intended purpose.
I don't know what Zeev plans on doing with
Il mar, 2003-02-25 alle 18:13, Magnus Mb@) ha scritto:
This is because you are running autoconf version 2.53 (which is buggy).
Downgrading to 2.13 will remove those warnings.
Tnx.
--
michel 'ziobudda' morelli [EMAIL PROTECTED]
--
PHP Development Mailing List http://www.php.net/
To
On 25 Feb 2003 17:19:28 +0100
michel 'ziobudda' morelli [EMAIL PROTECTED] wrote:
buildconf: autoconf version 2.53 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13 and automake-1.5.
I think that HEAD is getting slightly screwed up recently, as a couple of
recent cvs updates have got me some code from 4.3.x, or at least it looks
that way. (Specifically, Zend isn't coming down right, and I get missing
symbols like ZEND_INI_PARSER_POP_ENTRY and such, which should be defined in
On Tue, 25 Feb 2003 14:45:26 -0500
J Smith [EMAIL PROTECTED] wrote:
I get missing
symbols like ZEND_INI_PARSER_POP_ENTRY and such, which should be defined in
zend_ini.h.) Checking out php5 seemed to correct this.
That is because php5 is HEAD. I have no idea what php4 is, except not-working.
A lesson I learned yesterday after wondering why the hell the thing wouldn't
compile for the past three or four days... php5 works fine, though, like
you say.
J
Magnus N wrote:
On Tue, 25 Feb 2003 14:45:26 -0500
J Smith [EMAIL PROTECTED] wrote:
I get missing
symbols like
On February 25, 2003 05:05 pm, Magnus M wrote:
On Tue, 25 Feb 2003 14:45:26 -0500
J Smith [EMAIL PROTECTED] wrote:
I get missing
symbols like ZEND_INI_PARSER_POP_ENTRY and such, which should be defined
in zend_ini.h.) Checking out php5 seemed to correct this.
That is because php5 is
Or more accurately:
PHP5 - co php5
PHP4.3 - co -rPHP_4_3 php4
PHP4 - co -rPHP_4 php4
- Sascha
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
I'm sure we can eliminate those seeks. Are there any other areas in the
streams code that you can see that could do with a syscall tune-up?
Ok, found two more. In _php_stream_fopen() we fstat() the script to be
opened:
realpath = expand_filepath(filename, NULL TSRMLS_CC);
fp =
Hartmut,
will this also generate zend_parse_parameters calls based on prototype ?
l0t3k
Hartmut Holzgraefe [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
i've just added the first working results of a replacement for the good
old ext_skel script in php/scripts/ext_skel_ng
--
The current one does, so it better...
On Wed, 19 Feb 2003, l0t3k wrote:
Hartmut,
will this also generate zend_parse_parameters calls based on prototype ?
l0t3k
Hartmut Holzgraefe [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
i've just added the first working results of a
hi richard,
currently there is no way of calling a function with named arguments. your
proposed array syntax wouldn't allow for passing arrays. on the other hand
variant arrays can only be indexed arrays and not hash arrays so i could treat
all string indices as named parameters. this would be
Translating PEAR docs to Russian (main purpose, PEAR Russian docs team obviously need
help).
Translating PHP docs to Russian (possibly, if Russian docs team needs some help).
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
I implemented the native interface - inifile_*() functions - in order to be
able to work with group and name instead of the single key format that
is necessary using the dba interface.
Sounds to me like another issue which could have been easily
solved by using a thin PHP layer.
-
Hi,
Could someone pls tell me where exactly in the code is the response
body(including the response headers that php wants to send) formed after
a script is executed?
From what I understood, the execute() function in zend.c was doing that.
Am I right? Or is there more to it?
Tx,
Vinod.
Hi which is the story of XML into PHP5: DOM or Sablaton (XSL)? Insert
direct into php5 or like now via configure ?
Tnx in advance for all.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Feb 23, 2003 at 01:25:34PM -0800, Rasmus Lerdorf wrote:
Hey Sander, you fixed a problem back in July where you introduced a second
realpath() call into the main execute_script() function.
[...]
php_fopen_primary_script() calls expand_filepath() which does the realpath
before we get
Translating to Arabic
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Translating the documentation
(English - Croatian)
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
I'm contributing to the PEAR::LiveUser project. I already contacted the developers and
got their ok.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Björn Kraus [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 5:46 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] CVS Account Request: krausbn
I'm contributing to the PEAR::LiveUser project. I already contacted
the
developers and got their ok.
I am
Maybe PHP-XML-DEV is a better place to discuss this.
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi which is the story of XML into PHP5: DOM or Sablaton (XSL)? Insert
direct into php5 or like now via configure ?
Tnx in advance for all.
--
PHP Development Mailing List
With my ze-stream patch to PHP 5 (in HEAD now), this can be avoided as
all files opened on the behalf of the engine can be managed via a single
function, provided that they set the zend file handle to open via a
filename.
--Wez.
On Mon, 24 Feb 2003, Sander Roobol wrote:
On Sun, Feb 23, 2003 at
Hi,
Attached is the patch for binary-safe strip_tags().
Although it doesn't appear to be harmful anyhow, I think it needs
review since it modifies rather sensitive part.
Any objections?
Moriyoshi
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit:
Oops, forgot to attach it...
Moriyoshi
On Tue, Feb 25, 2003 at 03:14:58AM +0900, Moriyoshi Koizumi wrote:
Hi,
Attached is the patch for binary-safe strip_tags().
Although it doesn't appear to be harmful anyhow, I think it needs
review since it modifies rather sensitive part.
Any
Looks fine to me.
On Tue, 25 Feb 2003, Moriyoshi Koizumi wrote:
Hi,
Attached is the patch for binary-safe strip_tags().
Although it doesn't appear to be harmful anyhow, I think it needs
review since it modifies rather sensitive part.
Any objections?
Moriyoshi
--
PHP
At 12:02 24.02.2003, Sascha Schumann wrote:
I implemented the native interface - inifile_*() functions - in order to be
able to work with group and name instead of the single key format that
is necessary using the dba interface.
Sounds to me like another issue which could have been easily
Hi !
I need to fetch a datetime column from sql server with milliseconds. Someone
posted a patch a while ago:
http://groups.google.co.nz/groups?q=mssql+longdatetime+group:php.devhl=enl
r=ie=UTF-8oe=UTF-8selm=CB1A8358550CD2119F9C00A0C9984350934F79%40exchange.
phone-ivr.comrnum=1
How do I find
I've been aprobed to add a package (really just a class) to PEAR. The package (Date)
manteiner told me to request a CVS account in PHP, so here am I :)
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Jochen Daum wrote:
Hi !
I need to fetch a datetime column from sql server with
milliseconds. Someone posted a patch a while ago:
Doesn't look like that patch made it, but a ton of work has
been done on that file since.
How do I find out, if this patch has been incorporated
into Version
Derick, would you post the SRPM for libtool?
Joseph
Derick Rethans wrote:
On 19 Feb 2003, michel 'ziobudda' morelli wrote:
Hi, i have downloaded the new cvs version of php5, but:
buildconf: libtool version 1.4.2 found.
You need libtool version 1.4.3 or newer installed
to
Who adds people to the CREDITS/Authors section of an extension ?
the maintainers of the module, or someone else assigned to do it ?
Any objection of adding me to the Informix Extension CREDITS/Authors ?
-Corne'
!Exclude Disclaimer!
--
PHP Development Mailing List http://www.php.net/
To
Stig Bakken wrote:
+#ifdef ZEND_ENGINE_2
Why the #ifdef? Isn't HEAD supposed to be PHP 5 / ZE2 only?
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
--
PHP
Go ahead. (And don't forget to MFH that config.m4 fix..)
Or the CREDITS file. :)
--Jani
On Tue, 25 Feb 2003, Corne' Cornelius wrote:
Who adds people to the CREDITS/Authors section of an extension ?
the maintainers of the module, or someone else assigned to do it ?
Any
Thanks, will do =)
Wasn't sure if i should MFH it becuase it could still be a while before
IBM brings out a multi-digit major number for ESQL/C but you never know.
Corne'
!Exclude Disclaimer!
Jani Taskinen wrote:
Go ahead. (And don't forget to MFH that config.m4 fix..)
Or the CREDITS
On Sun, 23 Feb 2003, Wez Furlong wrote:
This double seeking is most probably due to the fact that the stdio
layer does one set of seeking, whereas streams needs to do another.
This can be solved by moving away from using stdio for streams, and just
using the raw descriptors instead.
Hi,
Just FYI:
I wrote some months ago a patch wich let datetime-values return in the
format -MM-DD HH24:MI:SS, because sometimes the conversion function
wich converts datetime-values does weird things.
The ini switch for activating this is named mssql.datetimeconvert, you
must set this to
dear all of member php-dev.
i book working php with MySQL if any the members have book about it if you
want to help me please send to me this is my Address:
Jumadi Simangunsong
Politeknik Informatika Del
Desa Sitoluama, Kec Laguboti Tobasa
Prop:Sumatatera Utara
Indonesia
22381
best regards
On Sun, 23 Feb 2003, Marcus Börger wrote:
After fixing hopefully last problems in the inifile handler i made
up a patch which introduces a native interface to the inifile handler.
I did this because the [group]name key format is not intuitive.
Care to explain what it does? Does it feed
At 12:11 23.02.2003, Sascha Schumann wrote:
On Sun, 23 Feb 2003, Marcus Börger wrote:
After fixing hopefully last problems in the inifile handler i made
up a patch which introduces a native interface to the inifile handler.
I did this because the [group]name key format is not intuitive.
Hi
You're right, there is no functionality right now, which is freeing the
domxml resources and I looked quickly through your patch. But i'm not
sure, what you're gaining exactly with it. You're not freeing the libxml
resources itself (and therefore the actual xml data), but just the
On Sun, 23 Feb 2003, Jun wrote:
Hi! I have a website whose pages were written in PHP.. using some classes I
have made that extensively use method overloading.. Before, my webhosting
company was using PHP 4.0.6 but just this january, they have upgraded to PHP
4.3.0... that is when I started to
Hi, why if I have
class B extends A {
}
the only way to call in automatic the A::__construct() is to not write
the B::__construct() ?
Ok, this is the design of PHP. But why ?
tnx
--
michel 'ziobudda' morelli [EMAIL PROTECTED]
--
PHP Development Mailing List http://www.php.net/
To
I'd like to create an open source project :
I have built a small daemon which is able to manage a neural network
I have built a php-module php-module (in c/c++) to communicate with the
previous server.
Do you think it could be interesting to do improve this things ?
Sylvain Becker
So, I am just starting out down the path to figure out why PHP 4.3 has
gotten so much slower than 4.2. strace -c provides the first clue. A
straight ./configure --enable-inline-optimization make command-line
build for 4.2, 4.3 and 5.0 run on a simple hello world script reveals that
we have gone
At 16:46 23.02.2003, michel 'ziobudda' morelli wrote:
Hi, why if I have
class B extends A {
}
the only way to call in automatic the A::__construct() is to not write
the B::__construct() ?
Ok, this is the design of PHP. But why ?
You can do the following:
class base {
function
So, obviously these opens don't really affect the module version since
they only happen on startup, but they still don't seem right. I
understand ./php-cgi.ini, but .//php-cgi.ini and .//php.ini? Looks like a
missing check there.
I just recognized these yesturday, too and was thinking the
RL So, obviously these opens don't really affect the module version
RL since they only happen on startup, but they still don't seem right.
RL I understand ./php-cgi.ini, but .//php-cgi.ini and .//php.ini?
RL Looks like a missing check there.
If this is only for CGI/startup, it is indeed not
On Sun, 23 Feb 2003, Stanislav Malyshev wrote:
RL So, obviously these opens don't really affect the module version
RL since they only happen on startup, but they still don't seem right.
RL I understand ./php-cgi.ini, but .//php-cgi.ini and .//php.ini?
RL Looks like a missing check there.
If
Il dom, 2003-02-23 alle 17:32, Marcus Börger ha scritto:
You can do the following:
class base {
function __construct() {
echo base::__construct()\n;
}
[...]
I know know.
What I want to understand is why the base::__construct() is called (in
automatic)
At 18:02 23.02.2003, michel 'ziobudda' morelli wrote:
Il dom, 2003-02-23 alle 17:32, Marcus Börger ha scritto:
You can do the following:
class derived extends base {
function __construct() {
parent::__construct();
echo derived::__construct()\n;
On Sun, 2003-02-23 at 18:04, michel 'ziobudda' morelli wrote:
Il dom, 2003-02-23 alle 17:32, Marcus Börger ha scritto:
You can do the following:
class base {
function __construct() {
echo base::__construct()\n;
}
[...]
I know know.
What I want
Il dom, 2003-02-23 alle 18:07, Marcus Börger ha scritto:
In ZE2 each class has a constructor. That constructor can be overwritten
by writing a method named __construct. So far so good.
Ok...
This is the design..
tnx.
--
michel 'ziobudda' morelli [EMAIL PROTECTED]
--
PHP Development
hi,
I have built a small daemon which is able to manage a neural network
I have built a php-module php-module (in c/c++) to communicate with the
previous server.
Do you think it could be interesting to do improve this things ?
Sylvain Becker
If it is generic enough, why not try
At 18:29 23.02.2003, Timm Friebe wrote:
Well, because there might be situations in which I'd like to call the
parent's constructor before my code in __construct, sometimes after it
and in some situations, not call it at all.
I hope you will never avoid initialising the base class or just call
the
A little bit harder to get clean output on this one. The numbers in the
's are the times for the system call. Here is a 4.2 hello world
request:
accept(24, {sin_family=AF_INET, sin_port=htons(57198),
sin_addr=inet_addr(10.0.1.254)}}, [16]) = 3 4.035087
rt_sigaction(SIGUSR1, {SIG_IGN},
Rasmus Lerdorf wrote:
Even in 4.2, I think we can optimize it. Assuming chdir() doesn't return
an error, we shouldn't need that second getpwd() call since we just did
the chdir() and we should know where we are.
Not necessarily... In a threaded environment, if threadA does
chdir(/tmp) and
601 - 700 of 43526 matches
Mail list logo