thing is messy at the moment and there is no reason to
keep BC for messy things which shouldn't be done anyway i suppose we
make ir right associative.
Andi?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
i showed where the error is.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
not allow extending interfaces at all.
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 15:54 12.03.2003, l0t3k wrote:
im trying to do some namespace related experimentation but im getting the
Have a look at spl (http://marcus-boerger.de/php/ext/spl/) how that works
without modyfing the engine.
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe
? Assume order left from to right: ( (a == (4)) == (5) = (0 == 5) = 0
Or right to left (which contradicts rest of PHP behavior): ( a == ((4) ==
(5))) = (a == 0) = 0
Result: This is (to say it in german mumpitz) wrong.
So lets fix it.
marcus
--
PHP Development Mailing List http://www.php.net
the letters P, H and P again in this particular order.
I think Shane got the solutionfollow up there
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
? Everyone in php-dev has to take care for some days?
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
extends foo implements BAR,JAZ {}
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
appreciate not having that requirement myself.
Wes
We must not loose contact to those delivering ideas and patches.
But loosing all this noise is a good idea! So to you Wes, it is good
to have readers like you! However we all spend to much time reading
noise.
regards
marcus
--
PHP Development
At 20:20 12.03.2003, Andrei Zmievski wrote:
On Wed, 12 Mar 2003, Marcus Börger wrote:
This works even though i do not like extends FOO.
Why? Both C# and Java (AFAIR) allow interfaces to extend other
interfaces.
Because of the second part of the answer. It is a little bit strange
',' :-))
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 19:05 10.03.2003, Marcus Börger wrote:
Standard PHP Library
Updated version allows:
class obj_array implements spl::array_read {
bla ...
}
$obj = new obj_array();
$value = $obj[$index];
marcus
--
--
Marcus Börger
At 01:48 12.03.2003, Stephen Thorne wrote:
All this is starting to feel strangely pythonic.
How soon till
('pre'.($_GET['textArea']-strip_tags()).'/pre')-print(); ?
Very far of because i am working with objects and interfaces and have no
plan for other types as arrays and longs
marcus
of using namespaces.
I feel it should be
spl::foreach
spl::forward
spl::key
Yes you're so rightit was a) to avoit '__' in methods and b) most ideas
were developed before namespaces exists correctly.
btw. what does 'spl' stand for?
Standard PHP Library
regards
marcus
--
PHP Development Mailing List
mdk box is fixed, so could
you post a tar.gz ? bz2 gives PowerArchiver the hiccups.
/s/tar.bz2/tgz/
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Can anybody answer this: Why do we have a sapi_deactivate(TSRMLS_C);
call in php_module_startup()?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 06:54 09.03.2003, Marcus Börger wrote:
Hi,
i've just done the first step for a new extension which shall make use
of interfaces newly implemented in ZE2.
SPL is updated and supports a complete set of iterator interfaces.
After moving from Minit/shutdown to Rinit/shutdown i also have no
more
At 08:10 08.03.2003, l0t3k wrote:
this may be a bit premature, but how do i inject the classes, functions and
constants in my extension into a namespace ?
l0t3k
See below :-)
marcus
/* {{{ register_namespace */
/* You will have to alloc the pns before the call */
void register_namespace
extension.
i assume i ZE2 cleans all this up for me after MSHUTDOWN (i.e. i dont need
to worry about doing so manually)?
Currently i have many memleaks at shutdown but do not investigate them
because i remeber i have heard of problems there and i am shure it would
work.
regards
marcus
--
PHP
. This work without
even modifying the engine, i simply hook on the necessary calls.
References:
The documentation of the interfaces and their usage:
http://marcus-boerger.de/php/ext/spl/spl.phps
The extension code:
http://marcus-boerger.de/php/ext/spl/spl-20030309.tar.bz2
And a testfile to demonstrate
At 10:32 07.03.2003, Björn Kalkbrenner wrote:
Sqlite is something like dbm with sql92 language and more.
I would much more appreciate a new submodule for the dbx module!
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
letter cases.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 02:45 03.03.2003, [EMAIL PROTECTED] wrote:
Nothing attached...
Try again...
Index: main/SAPI.h
===
RCS file: /repository/php4/main/SAPI.h,v
retrieving revision 1.100
diff -u -r1.100 SAPI.h
--- main/SAPI.h 20 Feb 2003 22:21:48
ini setting register_argc_argv should be independant from
register_long_arrays.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
understand what you mean by that...
I meant to have $_COMMAND['argc'] and $_COMMAND['argv'] and
$_COMMAND['commandline']
as a place to store argc/argv and _SERVER only having a copy of them for BC.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net
is off.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
unexpected behavior
and then writes a bug...
regards
marcus
--
--
Marcus Börger - Looking for all sorts of freelance work - just ask...
Did i help you? Consider a gift:
http://www.amazon.de/exec/obidos/wishlist/ho722v0rg1u0
access. If we can do this the rest might be easy - devide and conquer!
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
{
CG(active_class_entry)-constructor =
(zend_function *) CG(active_op_array);
#
regards
marcus
--
--
Marcus Börger - Looking for all sorts of freelance work - just ask...
Did i
solved by using a thin PHP layer.
Yeah - and i also thought about accepting an array as a key in case of
handler inifile. I think this would be much better for users and for c code
maintainance, what do you think?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit
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
;
}
function __destruct() {
parent::__destruct();
echo derived::__destruct()\n;
}
}
See:
http://marcus-boerger.de/php/ext/ze2/ctor_dtor_inheritance.phpt.txt
regards
marcus
the same.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
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
the base constructor after anything else is done in the dericed
constructor. The problem is that when you so the behavior of the
base class members (functions and properties) is not predictable.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net
At 18:20 22.02.2003, Marcus Boerger wrote:
helly Sat Feb 22 12:20:06 2003 EDT
Log:
Added dba handler inifiles to support ini files. (Marcus)
If someone wants to test this stuff:
The layout of the inifile is:
[ group ]
name ws* = ws* value ws*
The dba keyformat to use is: [ [ group
)
and inifile_close() beeing an alias to dba_close()
this interface is not meant to have first/nextkey but that would be
easy to add if someone wants it.
http://marcus-boerger.de/php/ext/dba_inifile.diff.txt
regards
marcus
--
--
Marcus Börger
://marcus-boerger.de/php/ext/dba_inifile.diff.txt
Having this you can play around using the php.ini file for example :-)
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
list for use with php) and letting the user decide by click or
replay to which it is to send.
However the above automoderation would be even better if the list
itself was moderated
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net
tag this is sticky - so every commit
goes to that branch. However you should use the other branch for the
new apache sapi: PHP_4
So simply check out with that tag, apply your changes, compile, *test*
and commit.
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe
Hi,
the patch below allows long option names such as --version and --help
what eases the use of php especially when used on the command line.
And it fixes the problem with duplicate error messages if arguments to
command line are erroneous.
http://marcus-boerger/php/ext/cli-getopt.diff.txt
At 18:31 15.02.2003, Jani Taskinen wrote:
Erm..that url doesn't look quite ok..? :)
--Jani
YES - It should have been:
http://marcus-boerger.de/php/ext/cli-getopt.diff.txt
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Derick
That was my understanding, too.
Anyhow i want to commit that first to HEAD and keep MFH as
an option after option names are accepted.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
for the help :-)
The problem was that the libtool sources contained a file libtool.m4 of zero
bytes in size. After adding a correct file to the sorce directory and building
everything again it works now: Thanks to Jani Sascha
regards
marcus
--
PHP Development Mailing List http://www.php.net
At 22:05 23.01.2003, Marcus Börger wrote:
The current OO implementation ( ... bla ... ) final ( ... bla ... )
I just updated the patch and it is getting a bit smaller due to latest engine
changes. I also moved the check code from zend_language_parser.y into
zend_compile.c (as suggested by...i
I updated all m4,autoconf libtool AND now i can no longer build php
Anybody help?
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.54 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
At 01:57 14.02.2003, Jani Taskinen wrote:
On Fri, 14 Feb 2003, Marcus Börger wrote:
AC_PROG_LIBTOOL is defined in libtool.m4,
which should come from libtool installation.
Most likely you've just got mixed up versions in your
system. Easiest way to get it working is to remove _all_
thought about doing that, too. You're really fast
Unfortunatley i haven't yet the time to try it out but it looks good.
Does it have any known problems?
marcus
p.s.: I asked about adding the cli manpage some days ago, can you help?
--
PHP Development Mailing List http://www.php.net
At 23:44 11.02.2003, Sascha Schumann wrote:
Markus,
here is a patch against the current CVS which
If you commit that stuff, you should apply the changes to our snprintf.c, too.
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http
() needs to do.
Shall more entropy be always true?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 23:08 10.02.2003, Sascha Schumann wrote:
No, some users might depend on the return format (think of
database entries).
That was one of the reasons i only changed it for CYGWIN.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
From our files haeders:
| available at through the world-wide-web at |
Shouldn't the first 'at' be dropped?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
is that it makes thinks easier.
And sometimes making things easier for users is better than knowing
as a developer that there is a solution.
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
every
line that is entered. What do you think?
regards
marcus
--
--- mailto:[EMAIL PROTECTED] --
We are animals among animals, all children of matter,
save that we are the more disarmed. But since, unlike animals,
we know that we must die, let us prepare
At 19:37 03.02.2003, Derick Rethans wrote:
On Mon, 3 Feb 2003, Marcus [iso-8859-1] Börger wrote:
After adding -B, -F, -R and -E which will hopefully liked by the rest
of development team so that the stuff need not to be removed.
Perhaps start by explaining what they do?
First simply use php
--
--
Marcus Börger - Looking for all sorts of freelance work - just ask...
Did i help you? Consider a gift:
http://www.amazon.de/exec/obidos/wishlist/ho722v0rg1u0
--
The assigne bugs reminder mail does not contain links to the
bug reports as normal mail from there do. Wouldn't it be nice
if one could simply click on the bugs?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
? Is there a mailing list for
that?
Currently i read the bug-summary-list..
[EMAIL PROTECTED]
Empty mail to [EMAIL PROTECTED] should do it.
This will send you EVERY message about any bug.
What Marcus meant was to subscribe to ONE bug I think.
I had two questions: One to assign
At 11:37 31.01.2003, Jani Taskinen wrote:
On Fri, 31 Jan 2003, Marcus Börger wrote:
I had two questions: One to assign to all NEW messages and one
feature request to assign to selective bugs...I wanted to avoid reading
all messages on any bug. Thats overkill...
Get a mail client that can
.
Aggreed!
The additional parameter solution is a pure developer friendly solution.
The separate
function is a user friendly solution. If we would like to make all happy
then add the
case-insensativity parameter to all str_ (not stri_) functions and add
the additional
function.
marcus
--
PHP
good book
about another language(written by someone who has understood OOP).
Sorry but i guess the discussion does not make any more sense.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
use those mechanisms then both (streams and netware
port) would benefit.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
(It is not so important if we know how to emulate this one. It's about our
usesers..we should not leave the focus on the users.)
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
to the file (g-x, g+s, I believe). That seems like a lot to
require inside an extension.
The dba solution so far is based on flock() and where not appropriate use
fctnl().
I tried to have the lock stuff working on as many systems as possible.
marcus
--
PHP Development Mailing List http
.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
the above is one of
the few
points i dislike in c++).
regards
marcus
--
--
Marcus Börger - Looking for all sorts of freelance work - just ask...
Did i help you? Consider a gift:
http://www.amazon.de/exec/obidos/wishlist
At 06:14 28.01.2003, Sebastian Bergmann wrote:
./configure: line 30289: syntax error near unexpected token `fi'
./configure: line 30289: `fi'
Should be fixed by now.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
the problem that someone overrides erm
redeclares a static bound function beeing inherited.
A patch can be found here:
http://marcus-boerger.de/php/ext/ze2/
regards
marcus
p.s.: It would be nice to reach a consensus here soon because i want
to start another extension to the OO model - if you read between
.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
. The machine has 1 GB of ram and 2 GB of
swap space.
I suppose you use some windows machine. I remember that all application have
only 1GB of RAM for their own until you have a windows server version and that
has an appropriate HAL and is configured to have more than 1gig.
marcus
--
PHP Development
thanks
marcus
by the way:could you send me a 1 x 1 jp2 file, because i am not able to produce
one my self?
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
://www.php.net/function.fsockopen]:
unable to connect to qa.php.net:80 in /php/php4/run-tests.php on line 462
Hm - is it possible for you to track down this unaligned access.
I guess it is a problem with 32/64 bit types but the message is not
helpful...
marcus
--
PHP Development Mailing List
?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 22:59 13.01.2003, oversky wrote:
Hi,
here they are...
i tested this with several types of pictures taken from internet or
generated by photoshop, etc...
thanks for your help...
- Original Message -
From: Marcus Börger [EMAIL PROTECTED]
To: WarmUp [EMAIL PROTECTED]
Cc: [EMAIL
At 10:45 11.01.2003, Sebastian Bergmann wrote:
Marcus Börger wrote:
yes - but this makes building HEAD + ZE1 + overload impossible
Well, ZE1 should only be build with the PHP_4_3 branch now.
Otherwise we won't get the momentum needed to push PHP 5 and ZendEngine
2 development.
Then we
substitutes any entity references you might have in the
xincluded document.
Why not check for XML_XINCLUDE_START and XML_XINCLUDE_END or
the libxml version in configure and make the necessary changes to the .c
file?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit
) to this list.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
I've got PHP code that checks this for me to prevent malicious
users from uploading huge avatars in my forum software.
Your scenario described above seems like a reason to accept the the
speed loss. So send an unified patch and we will have a look on it.
regards
marcus
--
PHP Development Mailing
Marcus: could you specify the speed loss? If it's noticeable I would
rather suggest to either introduce a new function or another parameter
to getimagesize(), no matter what the default is (e.g. let
getimagesize() get the real size and introduce something like
getimagesize_fast()) or the other
At 21:06 07.01.2003, Dave Viner wrote:
well.. from the win32build.zip file, I find in db.h this line:
#define DB_VERSION_STRING Sleepycat Software: DB 2.4.14: (6/2/98)
DB version 2 does not have the functions causing the error. And you cannot
link DB 2 with --with-db3=...
I suspect
.
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
: Berkeley DB 3.3.11: (July 12, 2001)
[flatfile] = 1.0, $Revision: 1.8 $
)
Interesting here is the version: DB 3.3.11.
What version of DB 3 do you try to link to?
regards
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 06:55 06.01.2003, Jean-Michel Dault wrote:
Le sam 04/01/2003 à 18:13, Marcus Börger a écrit :
What might happen is that CLI becomes widely accepted and scripts
calling php from shebang lines. Id so your above solution is a bad idea
and i hope CLI will be...
I'm CC'ing the maintainers
it?
Try checkout of both 4.3.1-dev and HEAD u have fixed several issues yesturday.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
would go for naming it to whatever name you like different
from
that of the executable in the CLI RPM. Since RPM can handle all installation
problems everything is fine then.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 21:57 04.01.2003, Jean-Michel Dault wrote:
Le sam 04/01/2003 à 08:15, Marcus Börger a écrit :
What happens when a user wants to install *both* php-cli and php-cgi?
You cannot have two files with the same name, either in the same RPM, or
in two different RPMS... This is not RPM specific
an even better 2003 for all of us.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 10:46 28.12.2002, Andi Gutmans wrote:
At 01:45 AM 12/28/2002 +0100, Marcus Börger wrote:
At 22:40 27.12.2002, Andi Gutmans wrote:
I don't think it's beneficial to PHP to have two modes especially as the
cli more you're talking about would support ? followed by a ?php. So
all you're saving
the board.
Andi
I agree here, too. But when you still want that stuff we can expand CLI by
a new switch that
executes the script in eval() mode. This way we do not have the problem
with the closing ?
tags mentioned by Andi (i just thought about starting a RFC on this).
marcus
At 02:11 PM 12
I have taken a short look at the code and i think Morioshi is correct.
zlib_ouput_compression doesn't seem work when zlib si compiled as a
shared module. But i will not have time for this until after x-mas.
marcus
At 09:11 23.12.2002, Moriyoshi Koizumi wrote:
As far as I've looked
At 01:32 22.12.2002, Edin Kadribasic wrote:
On Sunday 22 December 2002 00:51, Marcus Börger wrote:
Hi,
i can no longer load mhash and domxml dll's under windows RC4.
marcus
Rememberd to copy .dlls from dlls folder to a folder in PATH like
c:\winnt\system32?
Edin
After adding the dlls
Hi,
i can no longer load mhash and domxml dll's under windows RC4.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
but the
windows version fails. Sometimes i receive errors with
access violations. Sometimes i can downlowd the result
but when rename the resulting file to .gz i can open it and
as you might expect it contains the correct result.
marcus
for Debug_TS and Release_inline_ts builds.
- Frank
Iirc we decided to put the CLI version in a subdirectory, we're not
doing by latest changes?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
will still happen, but in 4.3.1.
That would be a very bad thing. If we want this we should do it
for 4.3.0 instead of having different installations every now and then.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
this will
cost use to mark some bug reports bogus or documentation problems? Isn't it
a fact
that sometimes evolution requires changes?
Just to make my conclusion clear: I favor CGI with the new name php-cgi +
c) d) e)
since BC is not everything.
marcus
--
PHP Development Mailing List http://www.php.net
and should be heared before
doing any modification. Shall we hear them only when the initial mail is marked
as RFC?
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
/2002, Marcus Börger wrote:
At 20:59 18.12.2002, Andrei Zmievski wrote:
What was the consensus on CGI vs. CLI naming or merging issue? Or was
there a consensus at all? I full plan to go ahead with 4.3.0 release
before the end of the year, so those interested in doing anything about
this issue better
cgi sapi.
2. New cli directory is included with php.exe (cli) in it.
If this is an acceptable compromise I volunteer to do the changes
required.
Edin
I am +1 with respect to latest -+ [01] discussion
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http
and let those being or feeling responsible
do necessary changes.
marcus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 528 matches
Mail list logo