Marc Richards wrote:
3) So this leaves a function call which begs two questions: What do we
call it, and what is the function syntax.
(a) What do we call it
We have a function that pretty much serves the same purpose:
makeset($var, 'default').
The name was born because this function was made to
Gunnar Von Boehn wrote:
Normally this PHP and Apache build runs fine.
I noticed that all long scripts (over 1000 lines) will kill the
Apache/PHP build.
I verified this with a very simple test script
";
$i++
print "$i";
...[1000 more lines like the above]..
?>
Script with 1000 or less lines run fi
Andi Gutmans wrote:
As I'd like to roll 5.0.0 by the end of the week, can developers please
speak up if they have anything critical they are working on?
Andi
Still heading for end of this week?
Bert
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/
Even after reading your message twice, I can't think of an example where
this would be useful. Obviously, I don't understand your intention.
Could you give an example of a construction that is made possible by
this feature (and thus would otherwise be impossible)?
Bert
Daniel Crookston wrote:
I
Stanislav Malyshev wrote:
> I understand that you are fully confident that you code would always
work.
Well, I'm not quite sure of this. Almost EVERY new piece of code
Alexander posted on php.internals was followed by one or more revisions
within one or two days! For me, this means that the ch
Thomas Goyne wrote:
As a user, I personally see placing new features over making old
features work better a large mistake. Perhaps that was necessary back
in the days of PHP3, but its been a very long time since I've run into
simply not being able to do something. Quite often, however, I've
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
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
WinXP, Apache 1.3.29, PHP 5 CVS Snap (PHP Version 5.0.0RC3RC2, Built On:
Jun 07, 2004 06:30 GMT):
Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL Server
Host 'a' (11001) in d:\htdocs_php5\z.php on line 3
No further problems.
Bert
Andi Gutmans wrote:
I can't reproduce and I want
Ferdinand Beyer wrote:
He should define an abstract method Foo::Baz() here.
This is a minimal testcase, in my real life situation there indeed is a
'abstract static function Baz();' in Class Foo. But indeed, then a
"Fatal error: Cannot call abstract method Foo::Baz() in.." arises..
Bert
--
PHP I
Hi All,
I have a class and a subclass, both with a static method:
class Foo2 extends Foo
{
static function Baz()
{
echo 'Baz';
}
}
Foo2::Bar();
?>
In this case I expect to find 'Baz' on my screen, but I get the
following: "Fatal error: Call to undefined met
Bert Slagter wrote:
Now I add a custom errorhandler:
---
function myErrorHandler($errno, $errstr, $errfile, $errline)
{print "We've got a $errno on line $errline in $errfile!";
}
set_error_handler('myErrorHandler');
error_reporting(0);
Hm, i tried ma
Derick Rethans wrote:
On Fri, 28 May 2004, Bert Slagter wrote:
> E_STRICT can not be handled you say, can you give a small example script
on that?
regards,
Derick
Of course :)
---
foo = 0;
class Foo
{ var $baz;
function bar()
{
}
}
class Foo2 exte
Sara Golemon wrote:
This just means replacing the first line of that patch with:
if (Z_TYPE_P(retval) != IS_NULL && !zend_is_true(retval)) {
This would be fine with me. What do we all thing about feasibility of
this patch going into PHP 5?
+0
No great harm in doing it, but for myself if I'm go
there any chance this will get better soon? I heard on the PHP
Conference in Amsterdam that both PHP 5 and MySQL 4.1 are expected to be
final somewhere this summer, so I'd expect some improvement in this
extension soon ;)
Bert
Bert Slagter wrote:
Hi Marcus,
Thanks for your clear answer :). What
thread_id isn't
available for example.
Is this intended behaviour?
Bert Slagter
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
be able to just do:
class foo extends mysqli
{
}
$foo = new foo();
Right now this doesn't work - the variable $foo->thread_id isn't
available for example.
Is this intended behaviour?
Bert Slagter
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
17 matches
Mail list logo