already a bug report about it and is now
> closed.
>
> On Wed, Jul 20, 2011 at 5:12 AM, Jingcheng Zhang wrote:
> > Hello,
> >
> > I'm using Windows XP Apache 2.2 build with VC9 x86 from Apache Lounge.
> > 5.4.0alpha1 works, but 5.4.0alpha2 is broken with "
; announcement so we can adjust it if feel to.
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Best regards,
Jingcheng Zhang
Beijing, P.R.China
definition.
> Since early binding is quite complex, it is best to assume classes always
> are defined at run-time and define them before use.
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
--
Best regards,
Jingcheng Zhang
Beijing, P.R.China
Hello internals,
I've occurred an inconsistent problem:
This works and print "foo".
The result is "Fatal error: Class 'C' not found". Is this result expected?
Why?
--
Best regards,
Jingcheng Zhang
Beijing, P.R.China
, "dynamic" initialization of static variable is
expected and meaningful.
Thanks in advance!
--
Best regards,
Jingcheng Zhang
P.R.China
t;
> Bye,
> Stefan
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Best regards,
Jingcheng Zhang
P.R.China
and doesn't?
>
>
For example:
This result is more or less expected since type hinting only works on
variable types, and the argument 'c' is a string, but as a type, the
interface i cannot hint the fact that class c "is a type of i".
Thanks for your patient reply!
>
> --
> Stanislav Malyshev, Zend Software Architect
> s...@zend.com http://www.zend.com/
> (408)253-8829 MSN: s...@zend.com
>
--
Best regards,
Jingcheng Zhang
P.R.China
ass which implements it.
Sorry to raise so many complaint, but these inconsistencies bring me a big
headache when developing. I would like to hear the design rules of PHP5's
object model, at least, the explanations of the above inconsistencies.
Thanks very much!
--
Best regards,
Jingcheng Zhang
P.R.China
is allowed
in interfaces, why?), which means this programming diagram is not officially
supported.
Since PHP 5.3 introduces late static binding, so is there any chance that
"static::" under static context behaves like $this under dynamic context?
Then the codes will be a little shorter a
Nobody is interested in this topic? Another confusing feature is "static
function", which is allowed in interface, but not allowed in abstract class,
any explanation or reason for this? Thanks :-)
2009/5/16 Jingcheng Zhang
> Hello all,
>
> Maybe I have not found its deta
follow the dynamic inheritance rule ( $this on dynamic, or
prototype delegation on JavaScript) ?
Thanks :-)
--
Best regards,
Jingcheng Zhang
P.R.China
;>
> > >
> >
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
> --
> Etienne Kneuss
> http://www.colder.ch
>
> Men never do evil so completely and cheerfully as
> when they do it from a religious conviction.
> -- Pascal
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Best regards,
Jingcheng Zhang
Room 304, Dormitory 26 of Yuquan Campus, Zhejiang University
P.R.China
Cheers,
> --
> Pierre
> http://blog.thepimp.net | http://www.libgd.org
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Best regards,
Jingcheng Zhang
Room 304, Dormitory 26 of Yuquan Campus, Zhejiang University
P.R.China
;; // Correct, "foo" is
$this->bar = 'BAR'; // Should be OK, as "bar" is private property of
*class c* here
}
}
?>
Thanks.
On Dec 1, 2007 12:57 AM, Johannes Schlüter <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Sat, 2007-12-01 at 00:24 +08
> --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
> --
> Etienne Kneuss
> http://www.colder.ch
>
> Men never do evil so completely and cheerfully as
> when they do it from a religious conviction.
> -- Pascal
>
--
Best regards,
Jingcheng Zhang
Room 304, Dormitory 26 of Yuquan Campus, Zhejiang University
P.R.China
ments.
> --
> Stanislav Malyshev, Zend Software Architect
> [EMAIL PROTECTED] http://www.zend.com/
> (408)253-8829 MSN: [EMAIL PROTECTED]
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Best regards,
Jingcheng Zhang
Room 304, Dormitory 26 of Yuquan Campus, Zhejiang University
P.R.China
nformation, because the extension
> > applies to the whole file at once. Simply defining the contents of a
> > file does not imply any organization whatsoever.
> >
> > What the original proposal *does* do is provide a namespace prefix - it
> > defines a scope within
43.phpt
diff -N tests/lang/043.phpt
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ tests/lang/043.phpt 6 Mar 2007 14:43:49 -
@@ -0,0 +1,14 @@
+--TEST--
+Dynamic call for static methods
+--FILE--
+
+===DONE===
+--EXPECT--
+bar
+===DONE===
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
Best regards,
Jingcheng Zhang
Room 304, Dormitory 26 of Yuquan Campus, Zhejiang University
P.R.China
Sorry, I've forgotten the "extends" keywords in the example codes:
2007/4/5, Jingcheng Zhang <[EMAIL PROTECTED]>:
Hi internals,
I used to use abstract static function prior to php 5.2, because when
I consider static class as a singleton, I can use abstract static
. Thanks :)
--
Best regards,
Jingcheng Zhang
Room 304, Dormitory 26 of Yuquan Campus, Zhejiang University
P.R.China
ature, or, is it just not the natural way? Thanks :)
--
Best regards,
Jingcheng Zhang
Room 304, Dormitory 26 of Yuquan Campus, Zhejiang University
P.R.China
21 matches
Mail list logo