always use a full-featured
userland library.
Speaking of interfaces: since you suggest using decoration and
composition over extension for ServerResponse, I am missing a
ServerResponseInterface, so that you can easily typehint such userland
decorators.
--
Jan Schneider
The Horde Project
https
ts too.
I suspect that the extension's going to have the performance
one would desire when dealing with giant mailboxes, but c-client is hard to
deal with. I've had experience with c-client for a while (stretching back
to Pine days), and yet still would like to roadmap our way to a modern
imple
don't use it ;)
I've checked phpLdapAdmin (not used), GOsa (not used) and Zend\Ldap
(sadly used, but I can rewrite that part) but that are just three libs
out there out of so many self-written scripts
FWIW Net_LDAP and its successors Net_LDAP2 and Horde_Ldap don't
regression is breaking real world applications since
two 5.5 and 5.6 releases (http://3v4l.org/YJRWQ) and the fix is ready
to merge, at least to the master branch.
Thanks for looking into this,
Jan.
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
versions. But you won't
find those cases if you test complete software stacks, because in the
most current version of both modules you will have the new parameter
available.
Beside that, your testing sample was pretty small.
Jan.
--
Jan Schneider
The Horde Project
http://www.horde.org/
h
of libc-client and mcrypt in RHEL6.
Regards
Anatol
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
--
PHP Internals - PHP Runtime Develop
Zitat von Ferenc Kovacs :
On Thu, Jan 29, 2015 at 11:03 AM, Jan Schneider wrote:
_Zitat von Ferenc Kovacs :_
_On Thu, Jan 29, 2015 at 9:57 AM, Jan Schneider wrote:_
_Zitat von Rasmus Lerdorf :_
_As a follow-up to my PHP7 Homework post last week, here is a bit of
spoon-feeding for all
Zitat von Ferenc Kovacs :
On Thu, Jan 29, 2015 at 9:57 AM, Jan Schneider wrote:
Zitat von Rasmus Lerdorf :
As a follow-up to my PHP7 Homework post last week, here is a bit of
spoon-feeding for all you lurkers on this list.
https://atlas.hashicorp.com/_rasmus/boxes/php7dev_
_The
p7dev
This command was not invoked properly. The help for this command is
available below.
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
don't see a problem. Yes, PHP4 constructors are are old and
should no longer be used. But there is no problem still supporting
them. Raise an E_DEPRECATED for those, and be done with it.
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
--
PH
Zitat von Pierre Joye :
On Thu, Oct 27, 2011 at 12:00 PM, Jan Schneider wrote:
I'm going to check with our Jenkins guru, but I'm wondering how such a VM
should look like. Should it contain a complete Jenkins instance, or just a
checkout of the Horde packages that you would run fro
Zitat von Pierre Joye :
hi Jan!
On Wed, Oct 26, 2011 at 11:16 AM, Jan Schneider wrote:
On Tue, Oct 25, 2011 at 12:13 PM, Ferenc Kovacs wrote:
from a quick look on their setup, they only have one node, and they are
using the global php binary, so no, they are only testing one php
version
Zitat von Pierre Joye :
On Tue, Oct 25, 2011 at 12:13 PM, Ferenc Kovacs wrote:
from a quick look on their setup, they only have one node, and they are
using the global php binary, so no, they are only testing one php version,
and I don't think that it would be the snapshot.
but that would be
Zitat von Ferenc Kovacs :
On Thu, Oct 6, 2011 at 2:49 PM, Jan Schneider wrote:
Zitat von Pierre Joye :
On Fri, Sep 23, 2011 at 12:23 PM, Rasmus Lerdorf
wrote:
On 09/23/2011 12:17 PM, Pierre Joye wrote:
We do 2) already (while we are working on increasing the amount of
apps and
Zitat von Pierre Joye :
On Fri, Sep 23, 2011 at 12:23 PM, Rasmus Lerdorf wrote:
On 09/23/2011 12:17 PM, Pierre Joye wrote:
We do 2) already (while we are working on increasing the amount of
apps and frameworks being tested), as I was asking to revert this
patch between 5.3.7 and 5.3.8 back
Zitat von Pierre Joye :
On Mon, Jul 11, 2011 at 10:15 AM, Jan Schneider wrote:
Zitat von Ferenc Kovacs :
On Sun, Jul 10, 2011 at 11:17 PM, Pierre Joye
wrote:
hi,
As I could agree on this fact, I can't find any existing project
having int(eger), float&co as class, namespaced o
Zitat von Ferenc Kovacs :
On Sun, Jul 10, 2011 at 11:17 PM, Pierre Joye wrote:
hi,
As I could agree on this fact, I can't find any existing project
having int(eger), float&co as class, namespaced or not. Do you have
any example at hand?
Cheers,
https://github.com/search?type=Code&languag
Zitat von Larry Garfield :
On 06/20/2011 10:25 AM, John Crenshaw wrote:
Doing this with an explicit iterator object is a fine idea. The
syntax becomes something like:
foreach(new TextIterator($s, 'UTF8') as $pos=>$c)
{
...
}
On the other hand, I think that trying to support iteration wi
Zitat von Pierre Joye :
2010/5/29 Johannes Schlüter :
Hey,
On Fri, 2010-05-28 at 23:50 +0200, Pierre Joye wrote:
I'd to add that unless we add everything in the NEWS file, the
ChangeLog remains the only way to have a list of all changes (without
doing manually).
Having the file is absolutel
Zitat von Adam Harvey :
Well, I'm going to assume that people have had whatever say they were
going to. It seems that we have three options, so let's put it to a
vote.
+1 for option 1.
Unless we can have some aliases to fix the problem with some PHP
functions being documented non-all-lower-
Zitat von Johannes Schlüter :
On Tue, 2010-03-16 at 22:13 +0100, Lukas Kahwe Smith wrote:
On 16.03.2010, at 16:58, Derick Rethans wrote:
> Before we add features, they need to be discussed whether we want to
> have them. As version name for it I would like to use "trunk-dev" (and
> not 5.4-dev
Zitat von Lukas Kahwe Smith <[EMAIL PROTECTED]>:
Windows binaries (optimized for various versions of Windows) are
available from the new website dedicated to PHP's windows binaries:
http://windows.php.net/downloads.php
Looks like the file descriptions are wrong. The non-TS
"PHP 5.3.0alpha2 V
Zitat von Jingcheng Zhang <[EMAIL PROTECTED]>:
Hello,
Is there any chance that dirname(__FILE__) being exposed as a constant,
i.e. __DIRNAME__?
No. Constants are per request, dirname(__FILE__) is obviously
different per file.
Jan.
--
Do you need professional PHP or Horde consulting?
htt
Zitat von Antony Dovgal <[EMAIL PROTECTED]>:
6 reasons why we must to get rid of The Switch ASAP
Having maintained a huge Unicode compatible codebase in PHP4 for the
last few years, I know which PITA it already is today, having to
consider the availability of mbstring and iconv, or dealing
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>:
The 2nd release candidate for PHP 5.2.1 is now available for
download. The tarballs can be found here:
The ming extension doesn't compile at the moment:
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c: In function
'getFontOrFontChar':
/home/j
Zitat von Hans Lellelid <[EMAIL PROTECTED]>:
I think there is far more
demand for a fast & stable PHP then for syntatic sugar features which
seem extremely useful, but in the end prove to carry too much baggage.
Nothing has been proven either way.. at least not publicly.. unless I
just miss
Zitat von Dmitry Shirokov <[EMAIL PROTECTED]>:
Hey guys.
What are you thinking about adding this feature:
Yes, please, that would be most important shorthand functionality
after dereferencing.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
--
PH
Zitat von Derick Rethans <[EMAIL PROTECTED]>:
Hello!
For some reason all of our code in all repositories in CVS have a tag
"RELEASE_1_0_4". Seems to have happened on the 18th, according to the
timestamp in the ChangeLog's history:
http://cvs.php.net/viewcvs.cgi/php-src/ChangeLog?view=log
If yo
Zitat von Derick Rethans <[EMAIL PROTECTED]>:
On Tue, 14 Sep 2004, Andi Gutmans wrote:
a) I will try and send internals@ an updated version of the realpath()
cache in the next few days. This should give a lot of bang for the buck
because realpath() is probably the suckiest system call in the startu
Zitat von Wez Furlong <[EMAIL PROTECTED]>:
On Thu, 12 Aug 2004 16:16:51 -0400, Jon Parise <[EMAIL PROTECTED]> wrote:
And what if Jan doesn't know C or feel comfortable writing PHP
extension code, for example?
Even more reason to stop complaining and wait for someone with the
appropriate skill to ge
Zitat von Jan Schneider <[EMAIL PROTECTED]>:
Ilia Alshanetsky wrote:
iliaa Wed Jul 21 17:57:03 2004 EDT
Modified files: /php-src/ext/imap php_imap.c Log:
Fixed bug #29209 (imap_fetchbody() doesn't check message index).
# Initial Patch by tony2001 at
Ilia Alshanetsky wrote:
iliaa Wed Jul 21 17:57:03 2004 EDT
Modified files:
/php-src/ext/imap php_imap.c
Log:
Fixed bug #29209 (imap_fetchbody() doesn't check message index).
# Initial Patch by tony2001 at phpclub dot net
http://cvs.php.net/diff.php/php-
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
I'm OK with adding it to print_r() too if no one has any serious objections.
Perhaps only for members explicitely declared public, as opposed to
var-style properties.
At 12:04 PM 5/20/2004 +0200, Derick Rethans wrote:
On Thu, 20 May 2004, Andi Gutmans wro
Zitat von Zeev Suraski <[EMAIL PROTECTED]>:
At 13:01 19/04/2004, Christian Schneider wrote:
Zeev Suraski wrote:
Any method that implements (directly or indirectly) an interface
method or an abstract method, will have implementation checks fully
enforced, with an E_COMPILE_ERROR emitted in case o
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
Should be fixed now. Thanks for the reproducing test case.
Yeah, works fine now, thanks.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft
--
PHP Internal
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
Can you do a reverse apply of the following diff and let me know if it
fixes the problem?
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.274&r2=1.275&ty=u
No, it doesn't.
At 05:04 PM 3/15/2004 +0100, Jan Schneider
Hi,
before reporting a bug, I want to make sure that this is no intentional
change. Are static methods no longer supported as callbacks?
preg_replace_callback('/some pattern/', array('MyClass', 'Method'),
$subject)
raises a warning atm:
Unable to call custom replacement function in ...
Jan.
--
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
I fixed get_object_vars() a couple of days ago. Can you check if this still
occurs?
No, that seems to have fixed it, thanks!
At 01:52 PM 3/15/2004 +0100, Jan Schneider wrote:
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
I will roll RC1 on
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
I will roll RC1 on the 17th so if there are "serious" show stoppers speak up.
Dunno what you consider "serious", but bug 2
http://bugs.php.net/bug.php?id=2 is on the ze2 level.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de
Zitat von Derick Rethans <[EMAIL PROTECTED]>:
On Tue, 2 Mar 2004, Edin Kadribasic wrote:
Same problem on win32 snap box which used to work fine. bison version is
1.75.
Should be fixed in CVS now.
Yeah, works again, thanks.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - N
Zitat von Jan Lehnardt <[EMAIL PROTECTED]>:
Hi Jan,
On 2 Mar 2004, at 12:25, Jan Schneider wrote:
bison -y /home/jan/cvs/php5/ext/standard/parsedate.y -o
/home/jan/cvs/php5/ext/standard/parsedate.c
/home/jan/cvs/php5/ext/standard/parsedate.y:389.12: parse error, unexpected
":",
bison -y /home/jan/cvs/php5/ext/standard/parsedate.y -o
/home/jan/cvs/php5/ext/standard/parsedate.c
/home/jan/cvs/php5/ext/standard/parsedate.y:389.12: parse error, unexpected
":", expecting ";" or "|"
make: *** [/home/jan/cvs/php5/ext/standard/parsedate.c] Fehler 1
Jan.
--
http://www.horde.org -
Zitat von Ken Tossell <[EMAIL PROTECTED]>:
Hi Internals,
I've just committed a new documentation module for SimpleXML, which
should show up on php.net sometime. It's available at
http://php.kennyt.com/newdocs/?q=ref.simplexml -- if you see any major
errors (and there are some, I'm sure), ple
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
> Any idea who added the following macros?
Zeev in version 1.19:
Tue Apr 18 18:23:28 2000
Add convert_to_writable_*_ex() macros (unused at this time)
:-)
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
ht
Zitat von Rasmus Lerdorf <[EMAIL PROTECTED]>:
> On Sat, 13 Dec 2003, Jan Schneider wrote:
> > Maybe. Due to PHP lacking byte stream functions, working with str* is
> the
> > only solution atm.
>
> And my contention is that there is no way to do this right now. If y
Zitat von Rasmus Lerdorf <[EMAIL PROTECTED]>:
> On Sat, 13 Dec 2003, Jan Schneider wrote:
> > I have to agree. While in the past it helped mb users to turn on
> overloading
> > if they wanted to use our framework, it will now break it. This is
> because
> &g
Zitat von Derick Rethans <[EMAIL PROTECTED]>:
> On Sat, 13 Dec 2003, Moriyoshi Koizumi wrote:
>
> > Overloading is evil, because functions like substr() are often
> > used to splice a certain length of octets byte-wise while mb_substr()
> > treats the sequence of octets on a character-basis. And o
Zitat von Moriyoshi Koizumi <[EMAIL PROTECTED]>:
> > The cool thing that mbstring provides is transparent overloading of
> > some
> > of the common string manipulation functions. This means that at least
> > for
> > a subset of applications, even though they may not have been written
> > with
> >
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>:
> On December 12, 2003 05:38 pm, Moriyoshi Koizumi wrote:
> > And I don't think fgetcsv() is an exception, since htmlentities() can
> > be referred to as an example that is placed in core and
> > supports multibyte strings. As I mentioned, purging th
Zitat von Edin Kadribasic <[EMAIL PROTECTED]>:
> On Thursday 27 November 2003 11:47, Jan Schneider wrote:
> [snip]
> > behaviour/notification and not working on-the-fly-generation of
> stdClass
> > objects. It's not that much of a problem for us as we will rel
Zitat von Andi Gutmans <[EMAIL PROTECTED]>:
> Hi guys,
>
> Now that we're at a very advanced stage and the code freeze is coming up,
> I
> think it'd be a good idea to start running some PHP 4 applications on PHP
> 5
> and see how easy things go. I'm sure we'll bump into some issues and many
> of
... has not yet been reset to -dev in configure.in
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.
Zitat von Tal Peer <[EMAIL PROTECTED]>:
> On Tue, 28 Oct 2003, Gareth Ardron wrote:
>
> > I can't figure out if this is desired or not, if it's not, I'll happily
> > draft up a patch to alter the behaviour - I just want to make sure
> > before I do.
>
> Why should header() start parsing its argume
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>:
> On October 7, 2003 08:45 pm, Jan Schneider wrote:
> > I never said that the current behaviour is in any way consistent. But
> which
> > behaviour the more logical one is, is debateable. Many languages
> support
>
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>:
>$a = null;
> sort($a);
> ?>
>
> Majority (if not all) array function, will error out when they encounter
> a
> variable that is not array when an array argument is expected. If
> anything
> this patch add consistency that helps to ma
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>:
> Perhaps, if PEAR developers wrote proper code & did not rely upon
> unsupported
> & undocumented features we would not have this problem. While they do,
> these
> problems will occur. If you do not write proper code, either don't turn
> on
> warnin
is notice to be added to the PHP_4 and HEAD branch, but
PHP_4_3 is the wrong place.
> Jan Schneider wrote:
>
> > Zitat von Jani Taskinen <[EMAIL PROTECTED]>:
> >
> >> Passing array_merge*() anything else but arrays is undocumented.
> >> These funct
Zitat von Jani Taskinen <[EMAIL PROTECTED]>:
> Passing array_merge*() anything else but arrays is undocumented.
> These functions were meant to be used on arrays and this change
> (very, VERY minor change, if I may say so) just "fixes" this.
The only case I really care about are NULLs
Mike Robinson wrote:
Jay Smith wrote:
As near as I can tell, leaving it in seems to be the way to go at the
moment. Being as they're E_NOTICEs and not full-on E_WARNINGs and the fact
that the actual behaviour of the function hasn't changed (except, of
course, the E_NOTICEs), it seems to be a goo
I *love* it when threads silently die. ;-)
Will this problem actually adressed by anyone or will we again have to
release new versions of our software just because a minor PHP came out or
deal with a huge amount of user complaints?
Zitat von Jan Schneider <[EMAIL PROTECTED]>:
> Zita
Zitat von Jay Smith <[EMAIL PROTECTED]>:
> Jan Schneider wrote:
>
> >
> > I generally agree (this is the purpose of E_NOTICE after all), but
> there
> > is a subtle difference between what has been fixed and what is broken
> now.
> > Passing NULLs to ar
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>:
> In my opinion the change is fine, given the current state of affairs a
> transitional release between 4.3 & 5.0 does not seem likely. Therefor it
> would only seem logical to give people a fair warning (E_NOTICE) that the
> (wrong) behavior they ar
Hi,
the recent change to array_merge that now checks for IS_ARRAY breaks BC IMO.
At least I know get a lot of E_NOTICEs everywhere.
On Tue, 23 Sep 2003, jan at horde dot org wrote:
> ID: 25494
> Comment by: jan at horde dot org
> Reported By: enygma at phpdeveloper dot o
Zitat von David Guerrero <[EMAIL PROTECTED]>:
> Hi!
>
> I opened Bug #25246 some days ago. The bug was closed as "bogus" by
> Sniper.
>
> I think that this issue (locale numeric settings) is not correctly
> addressed in the php core. And i would like to open a discussion about
> it, because i thin
Zitat von Marcus BXrger <[EMAIL PROTECTED]>:
> Hello Tony,
>
> Friday, July 11, 2003, 9:39:55 PM, you wrote:
>
> TB> In PHP5 I noticed this behaviou with interfaces. If I have an
> interface
> TB> with a method that takes no paramaters, an implementing class for
> that
> TB> interfaces can have t
Zitat von Robin Ericsson <[EMAIL PROTECTED]>:
> On Wed, 2003-07-09 at 14:46, Jan Schneider wrote:
> > Zitat von Stanislav Malyshev <[EMAIL PROTECTED]>:
> >
> > > JS>> Click on "View branches" ;-)
> > >
> > > I'm s
Zitat von Stanislav Malyshev <[EMAIL PROTECTED]>:
> JS>> Click on "View branches" ;-)
>
> I'm sorry I see no view branches on http://cvs.php.net/cvs.php/Zend.
> Could
> you please help me with URL?
You can only see branches in the file view, not in the directory view,
because directories can't be
Zitat von Edin Kadribasic <[EMAIL PROTECTED]>:
> EK>> You need to check out -r PHP_4_3 as ze1 does not exist in head.
>
> >How do I "check out -r PHP_4_3" on cvs.php.net website?
>
> Sorry I didn't realise you were talking about web interface to the
> cvs.
>
> I have no idea how to view branches i
Zitat von Moriyoshi Koizumi <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] (Marcus Börger) wrote:
>
> > Hello internals,
> >
> > It is of course correct that an interface method cannot be declared
> private
> > but i think it should be possible to declare it protected.
>
> I don't see the benefit to all
Zitat von Jani Taskinen <[EMAIL PROTECTED]>:
>
> Works fine here, get a fresh checkout.
Doh! You shouldn't try to run the tester if you compiled --without-cli. ;-)
> --Jani
>
> On Wed, 2 Jul 2003, Jan Schneider wrote:
>
> >/bin/sh: line 1: /home/
/bin/sh: line 1: /home/jan/software/php43/: is a directory
make: *** [test] Fehler 126
This is how the Makefile part looks like:
test: $(SAPI_CLI_PATH)
@TEST_PHP_EXECUTABLE=$(top_builddir)/$(SAPI_CLI_PATH) \
TEST_PHP_SRCDIR=$(top_srcdir) \
CC="$(CC)" \
Zitat von Sterling Hughes <[EMAIL PROTECTED]>:
> Source distro ::
>
> http://www.php.net/~sterling/php5/
>
> Win32 binaries ::
>
> http://www.php.net/~edink/php-5.0.0b1-Win32.zip
>
> Download, compile, test.
Just something that doesn't have something to do with the pre-beta, but this
HEAD general
Current HEAD:
/home/jan/software/php5/ext/ldap/ldap.c: In function `_php_sasl_interact':
/home/jan/software/php5/ext/ldap/ldap.c:474: error: `sasl_interact_t'
undeclared (first use in this function)
/home/jan/software/php5/ext/ldap/ldap.c:474: error: (Each undeclared
identifier is reported only on
Hi,
this is sort of a best-practices-question:
I used to test our stuff with different PHP versions by having them in
separate CVS checkouts and just calling "make install" in these directories
and restarting Apache.
This worked fine as long as all versions used the same names for their
files, e
Quoting Jani Taskinen <[EMAIL PROTECTED]>:
> Heh..so magic_quotes_sybase ini setting affects how stripslashes()
> function works too? Pretty high WTF factor there. It should be
> an additional option for php_stripslashes() that is passed where
> appropriate.
As long as it affects
Quoting Zeev Suraski <[EMAIL PROTECTED]>:
> At 04:56 26/03/2003, Jan Schneider wrote:
> >Quoting Zeev Suraski <[EMAIL PROTECTED]>:
> >
> > > That's quite intentional - assignments in ZE2 are handle based,
> versus
> > > the
> > > valu
().
That's true of course, but serialize() still shouldn't segfault, no?
> At 06:13 25/03/2003, Jan Schneider wrote:
> >Running the following code:
> >
> >class Foo {
> > var $bar_ref;
> >}
> >
> >class Bar {
> > var $foo_ref;
> &g
Running the following code:
class Foo {
var $bar_ref;
}
class Bar {
var $foo_ref;
}
$foo = new Foo();
$bar = new Bar();
$foo->bar_ref = $bar;
$bar->foo_ref = $foo;
var_dump($foo);
var_dump($bar);
$s = serialize($foo);
var_dump($s);
$s = serialize($bar);
var_dump($s);
in PHP_4_3 results t
Quoting Edin Kadribasic <[EMAIL PROTECTED]>:
> > Current HEAD:
> >
> > die("line: " . __LINE__) works as expected, but die(__LINE__)
> doesn't output
> > anything.
>
> That's because die(int) will set exit status and not print anything.
> die(string) prints string and exits.
Hm, that should perh
Current HEAD:
die("line: " . __LINE__) works as expected, but die(__LINE__) doesn't output
anything.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
--
PHP Internals - PHP Runtime Development
Is there a reason or is it a bug that the following code doesn't work anymore?
class Foo {
function bar()
{
echo "bar";
}
}
$method = "bar";
Foo::$method();
parse error, unexpected '('
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
htt
Quoting Zeev Suraski <[EMAIL PROTECTED]>:
> Should be fixed now. Thanks for the test case!
>
> Zeev
>
> At 17:43 22/03/2003, Jan Schneider wrote:
> >This code run in current code (HEAD):
> >
> >class Foo {
> > var $arr = array();
> >}
This code run in current code (HEAD):
class Foo {
var $arr = array();
}
class FooX extends Foo {
function bar()
{
var_dump($this->arr);
}
}
$foo = new FooX();
$foo->bar();
produces "NULL" as the output. I guess this is not the intended behaviour?
Jan.
--
http://www.hor
83 matches
Mail list logo