On Mon, July 16, 2007 7:47 am, Jani Taskinen wrote:
I have moved the POSIX regex dependant functions to ext/ereg/
extension.
Now only places using the POSIX regex functions (ext/ereg/ excluded)
are
ext/standard/browscap.c and ext/pgsql/pgsql.c.
I took a brief look at the pgsql.c stuff, and
On Sat, July 14, 2007 9:00 am, Rasmus Lerdorf wrote:
Richard Lynch wrote:
$a = ãÆžãÆâ¹Ã£Æ¥ãâ¢ãÆ«;
echo $a[1];
Whoa.
That was weird...
Right, your mail client doesn't handle Unicode correctly. You might
want to do something about that.
Or not, since I don't have any
On Tue, July 17, 2007 4:29 pm, Jani Taskinen wrote:
Richard Lynch kirjoitti:
I took a brief look at the pgsql.c stuff, and it looks like it's all
fairly straight-forward to alter to PCRE instead of POSIX, and it's
all localized to this function:
http://lxr.php.net/ident?i
On Fri, July 13, 2007 2:35 pm, Stanislav Malyshev wrote:
We have started a project to make it easier to support international
markets using PHP. A number of internationalization functions from IBM
ICU will be made available in PHP as an extension.
I realize that my natural state is the state
On Wed, July 11, 2007 9:02 pm, chris# wrote:
Getting 2 PHP modules to co-exist without tromping on each others'
symbols is, I think, the show-stopper...
It was possible to have PHP3 and PHP4 both as modules, I think, but
that was an anomoly?
So which one of the developers broke this
On Wed, July 11, 2007 9:14 pm, Rasmus Lerdorf wrote:
Richard, you are rather confused on this Unicode stuff.
I'm 100% certain we can all agree on that point. :-)
The fact that
PHP and ICU uses UTF-16 internally has absolutely nothing to do with
what is exposed at the scripting level.
But
On Wed, July 11, 2007 6:13 pm, Tijnema wrote:
On 7/12/07, Jani Taskinen [EMAIL PROTECTED] wrote:
A lot easier (and works already) is to install PHP as CGI/FastCGI
(one version or all of them, one can be module of course) and define
the
required PHP version by the file suffix..
--Jani
On Tue, July 10, 2007 4:49 pm, Jani Taskinen wrote:
I'd like to commit the attached patch which should always enable
mail(),
any objections?
+1
I don't see any reason why I should have to install sendmail before I
install PHP.
PHP is way more important than sendmail, after all. :-)
It's not
On Mon, July 9, 2007 2:49 am, Stanislav Malyshev wrote:
+1 for braces.
?php
function
super_common_function_every_namespace_in_my_project_uses(){
}
namespace A::B {
function foo() {
//arcana of A::B stuff
}
}
?
That's what I would like to avoid. Because if you
On Mon, July 9, 2007 4:58 pm, Stefan Priebsch wrote:
I know, and I use spl_autoload_register. But then I would blatantly
suggest to remove __autoload() in PHP6 and force SPL to be compiled
into
PHP.
Deprecate in 6, remove in 7 might be a better strategy...
Otherwise you'll hear: Oh, I can't
On Wed, July 11, 2007 7:48 pm, Jeff Griffiths wrote:
Richard Lynch wrote:
On Wed, July 11, 2007 4:40 pm, Tijnema wrote:
Except for the OO, I don't see anything that can't be done in PHP4,
while it can be done in PHP5. Some workarounds are maybe needed,
but
it mostly doesn't require more than
On Mon, July 9, 2007 3:06 am, Stanislav Malyshev wrote:
But now \xF0 isn't going to be ASCII 128 anymore, is it?
ASCII doesn't have any characters beyond 0x7f AFAIK, but it doesn't
matter, I get what you mean. \xF0 in unicode mode would be U+00F0 of
course. Now how preg_match should handle it
On Mon, July 9, 2007 3:13 am, Alexey Zakhlestin wrote:
On 7/9/07, Richard Lynch [EMAIL PROTECTED] wrote:
Anybody who actually NEEDS Unicode ought to be the ones who have to
type a new keyword or something, not the bazillion users who have no
need for Unicode and likely never will...
I
On Mon, July 9, 2007 1:41 pm, Andrei Zmievski wrote:
Once again, you're trying to work with bytes inside Unicode strings,
which just does not make sense.
From our perspective, you've gone and changed a fundamental data
structure out from under us, in a non-backwards-compatible way, and
broken a
On Wed, July 11, 2007 3:11 am, Richard Quadling wrote:
On 11/07/07, Evert | Rooftop [EMAIL PROTECTED] wrote:
Larry Garfield wrote:
Top 10 by what metric? If I had to guess based on market share,
I'd say
(unordered):
Drupal
Squirrelmail
WordPress
phpMyAdmin
MediaWiki
Joomla
On Wed, July 11, 2007 7:57 pm, David Coallier wrote:
If you want to do functional programming then go ahead, if you want to
do OOP, then do real OOP, not sub-oop or some php4-oop.
Many users, for many tasks, have absolutely zero need to do any OOP at
all.
And bloating their PHP for OOP they
On Tue, July 10, 2007 7:06 pm, Larry Garfield wrote:
If 90% of the strings in use would work fine if treated as unicode,
then it
would make sense to just always assume Unicode unless explicitly
specified
otherwise.
If that 10% includes enough users who have written millions of line of
code
On Mon, July 9, 2007 5:24 pm, Christopher Jones wrote:
I also think we shouldn't backport features to PHP5. We should
I believe the only serious reason FOR this is if you want to drop the
semantics OFF in PHP 6...
If getting new features requires upgrading to 6 and taking the Unicode
stuff
On Tue, July 10, 2007 11:30 am, Andi Gutmans wrote:
What I really think we need to do for this release, which we haven't
been good at doing in the past, is build a PHP Compatibility Team
which
tries to port many applications to PHP 6 and finds the issues in doing
this port (both with
Seems to me...
Both need to be done.
Do both, or pick one if you can't do both, and somebody else will do
the other. That's how FLOSS works. :-)
On Wed, July 11, 2007 12:33 am, Evert | Rooftop wrote:
One final question..
should I assume while converting code unicode.semantics is on or
off?
With the benefit of a lot of reading in this thread...
And not sure my vote even counts.
+1 PHP4 link to museum
+1 Announce ASAP security fixes only until 8/8/8
It is not abandoning users, at this point, to do this, imho.
They've had years to switch to PHP 5.
They've got another years' worth
On Fri, July 6, 2007 1:23 am, Stanislav Malyshev wrote:
You mean this will break:
?php
$mask = 0xf0;
$value = $_POST['foo'] $mask;
?
because of Unicode?
I'd say it won't do what it did before. Though I'm not sure bit
operations on unicode make any sense at all... The problem here
On Sun, July 8, 2007 2:58 am, Dmitry Stogov wrote:
-1 for braces and multiple namespaces per file
Braces will allow define something outside namespace and I like to
avoid
this possibility.
In the following correct example function bar() is defined in global
namespace.
?php
namespace
On Fri, July 6, 2007 11:48 am, Antony Dovgal wrote:
On 06.07.2007 20:44, Stanislav Malyshev wrote:
You don't by a Porsche if you need a taxi, why would you install
PHP6 if
you don't need Unicode?
Namespaces ;)
This reason is only valid if we don't backport such things from PHP6
to PHP5
On Fri, June 29, 2007 1:21 am, Tomas Kuliavas wrote:
If unicode semantics are on what exactly is borked in PHP 5?
In Unicode mode \[0-7]{1,3} and \x[0-9A-Fa-f]{1,2} refer to unicode
code
points and not to octal or hexadecimal byte values. Fix is not
backwards
compatible.
Gak.
You mean
On Fri, June 29, 2007 3:25 am, Alexey Zakhlestin wrote:
The thing which I don't understand is: why do people want backward
compatibility that much?
Because if you run a webhost with a zillion users, half of whom are
screaming for PHP 6, and half of whom are screaming because something
broke,
On Sat, June 30, 2007 9:55 am, Jakob Buchgraber wrote:
Okay, I can now reproduce the problem. Here is the code:
?php
class Foo {
public function __destruct() {
throw new Exception();
}
}
$a = new Foo();
?
I couldn't reproduce it before as I didn't assign the instance
On Sun, July 1, 2007 2:18 pm, Pavel Shevaev wrote:
$ php -r class Foo{};$foo = new Foo();var_dump($foo);
object(Foo)#1 (0) {
}
What I actually need, not the object hash but simply its unique id.
According to Marcus, it's NOT unique.
But I can see that for debugging, it would be very very
On Sun, July 1, 2007 2:50 pm, Sebastian Bergmann wrote:
Pavel Shevaev schrieb:
What I actually need, not the object hash but simply its unique id.
The problem is that there is no such unique id in the current engine.
How does PHP internally distinguish it?
Surely it has some kind of
On Tue, June 19, 2007 3:36 am, Stefan Priebsch wrote:
- define a unified path separator for include_path (the
system-dependend
ones could still be accepted, thus keeping BC)
Any character you choose would be a valid part of a filename in some
other OS, and so you'd then need an escape
On Tue, June 19, 2007 5:19 am, Tim Starling wrote:
Can someone explain the closing comment on this bug report to me?
http://bugs.php.net/bug.php?id=38245
Surely in a addslashes-escaped string, \\ is the Windows directory
separator, not \.
The bug clearly describes irreversible corruption
On Tue, June 19, 2007 3:38 am, Richard Quadling wrote:
On 19/06/07, Johannes Schlüter [EMAIL PROTECTED] wrote:
Sara has a nice article about TSRM:
http://blog.libssh2.org/index.php?/archives/22-What-the-heck-is-TSRMLS_CC-anyway.html
and since you're using php5ts.dll you have zts enabled.
On Tue, June 19, 2007 2:44 pm, Rasmus Lerdorf wrote:
It comes down to predicting the future. Whichever way we go, the
decision is going to be second-guessed. If we have critical mass for
a
clean BC break, then I am ok with it. For me personally it would make
things a bit easier, but I
I would guess that an exception is getting thrown before you PHP
script has actually started...
Something in the parsing of GET/POST data or file upload handler,
perhaps.
Can you nail down what was being done when it occurred, perhaps by
sending the error to Apache error log, and then looking at
On Wed, June 13, 2007 2:07 am, Dmitry Stogov wrote:
Current time most PHP instalations use setting 'display_error=0'.
This setting hides errors from user but may send to him just a blank
page.
The proposed patch sends HTTP 500 response on errors instead of blank
pages.
The pages that
On Wed, June 13, 2007 7:09 am, Richard Quadling wrote:
Hi.
Are there any special concerns for setting memory_limit to -1 in
PHP.INI on Windows (using Sambar Server, not IIS/Apache).
I'm getting Out of memory errors recently. Memory is good.
Admittedly the code is trying to add a 12MG file
On Tue, June 5, 2007 3:19 pm, Marcus Boerger wrote:
let's make ext/pcre and ext/spl first class core components and not
allow
to disable them.
PCRE: +0.5
SPL: -1 (Just confuses me, never use it, don't need it)
ymmv
imho
.
.
.
--
Some people have a gift link here.
Know what I want?
I
On Tue, June 5, 2007 4:10 pm, [EMAIL PROTECTED] wrote:
Dear internals,
I stumbled upon the following odd error message from PHP which I was
not
expecting.
Here is a small example that triggered the error with 5.2.2, 5.2.3 and
a
php5.2-200706052030 snapshot.
?php
class class1{
On Fri, June 1, 2007 12:06 pm, Stanislav Malyshev wrote:
You'd probably do something along those lines if it were possible:
((ParentClass) $child)-virtualMethod();
Looks like bad style to me - why not call child's method and it would,
if needed, pass control to parent?
Or, if, for some
On Thu, May 31, 2007 3:36 pm, William A. Rowe, Jr. wrote:
In httpd server (and most) there is a startup phase, when we generally
trust what the admin has done, and a runtime phase. There are obvious
exploits if untrusted scripts can run arbitrary dlload's after
startup.
Call me silly, but if
On Thu, May 31, 2007 3:44 pm, Stanislav Malyshev wrote:
What about array('B', 'self::foo') -- I can see how that's needed to
call the static method, I guess...
But that won't be different from just array('B', 'foo') so you don't
need self::...
Duh.
Sorry.
I somehow had some imaginary
On Thu, May 31, 2007 4:14 pm, William A. Rowe, Jr. wrote:
Richard Lynch wrote:
On Thu, May 31, 2007 3:36 pm, William A. Rowe, Jr. wrote:
In httpd server (and most) there is a startup phase, when we
generally
trust what the admin has done, and a runtime phase. There are
obvious
exploits
On Tue, May 29, 2007 12:04 pm, Stut wrote:
Hi all,
Just wanted to get your opinion on a discussion currently going on on
the general list.
Why does the PHP session extension not use something like the user
agent
to validate that a session ID has not been hijacked? Or is this
something
On Tue, May 29, 2007 4:25 am, Antony Dovgal wrote:
Hello.
Do you think the engine should support bitwise operators and Unicode
strings?
If yes, how do you think it should work?
Example:
?php
$a = 1;
$a|=2;
var_dump($a);
?
This code outputs 3 in native mode and Fatal error:
Maybe I'm just confused (well, I'm always confused...) but if a Class
has multiple children, how the heck would PHP know which child:: to
call?...
On Sat, May 26, 2007 5:48 pm, Ken Stanley wrote:
Hi all!
I've been researching the current status of late static binding, and I
came
across this
On Tue, May 22, 2007 1:12 pm, Derick Rethans wrote:
On Tue, 22 May 2007, Tomas Kuliavas wrote:
Recent versions of PHP5, has a binary string introducer.
echo strlen(b\xC4\x85);
I have already said to Stefan. It is not an option. I need backwards
compatibility. If older PHP versions
On Mon, May 21, 2007 9:57 am, Stefan Walk wrote:
On 21/05/07, Tomas Kuliavas [EMAIL PROTECTED] wrote:
Latin capital letter A with diaeresis is 00C4. Not C4.
Pay attention in maths, leading zeroes don't change a number.
Pay attention to documentation. Leading zeros change a number.
?php
On Fri, May 18, 2007 10:51 am, Greg Beaver wrote:
The solution:
=
Add a new function: stream_wrapper_set_local()
So, basically, your function would be similar to:
I'm removing the safety from the gun with which I might shoot myself
in the foot.
:-) :-) :-)
Would it be applied on
On Fri, May 18, 2007 6:47 pm, Cristian Rodriguez wrote:
2007/5/18, Greg Beaver [EMAIL PROTECTED]:
?php
include $_GET['dumb'];
?
What about permanently removing this (mis) feature ?? , Im yet to
hear any valid reason or example to continue to permit this remote
include thingy, all
On Fri, May 18, 2007 12:03 pm, Derick Rethans wrote:
On Fri, 18 May 2007, Rasmus Lerdorf wrote:
Stanislav Malyshev wrote:
Looks like we have a precedence bug in the parser rules there.
Fortunately it's quite easy to fix, for example writing the rules
as:
|'+' expr %prec T_INC
On Sat, May 19, 2007 4:00 am, Stefan Esser wrote:
Antony is very fast with assigning bugs to persons that have nothing
todo with them.
I believe there is still a bug assigned to me because in Antony's
world
I am responsible for it, while infact
my commit was in a version AFTER the one the
On Sat, May 19, 2007 3:00 am, Stefan Esser wrote:
If you are aware of some security problems in current PHP sources
you
are as always welcome to report them and they will be fixed. I think
everybody here as always are thankful for any help we can get.
Ohh BTW. I am aware of many security
On Sat, May 19, 2007 4:42 am, Cristian Rodriguez wrote:
2007/5/18, Stanislav Malyshev [EMAIL PROTECTED]:
Sane hosters do not rely on general-purpose language to provide
security, they use OS and hardware designed for exactly that
purpose. ;)
unfortunately hosters has to equilibrate security
On Wed, May 16, 2007 9:08 am, Brian Moon wrote:
According to my memory of Please My Dear Aunt Sally these should be:
My memory has My Dear in equal priority, left to right...
This documentation would seem to bear that out:
On Tue, May 15, 2007 12:53 pm, Emil Ivanov wrote:
Sorry to bother you, as I know you are quite busy, but I have a
problem and
maybe a elegant solution does not exist right now.
The case is simple:
A user is allowed to upload files to the server, which are store in a
temporary location and
On Tue, May 15, 2007 12:38 pm, Antony Dovgal wrote:
On 05/15/2007 08:52 PM, Stanislav Malyshev wrote:
Well, I'm pretty sure regular humans know how to run `find . -name
*.phpt | xargs grep func`.
I dunno...
It took me years to figure out that xargs thing and how to make it go...
I'd read the
On Wed, May 9, 2007 1:00 pm, Brian Moon wrote:
Richard Lynch wrote:
Seems like you could just make it a custom extension and see if
people
use it a lot...
Even if you just had every phorum user asking for it, that would
drive
a lot of interest, no?
Well, making a custom Phorum
On Wed, May 9, 2007 9:22 am, Brian Moon wrote:
A common issue in lots of applications is tree sorting with unlimited
depth. Phorum has used a recursive function since 1999 to solve this
problem. However, at MySQL Conference this year, we finally wrote a
non
Seems like you could just make it
On Tue, May 8, 2007 10:30 am, David Coallier wrote:
Here is an optimized version for early browsers:
http://dev.agoraproduction.com/php/snaps/snaps2.php
Works for me.
[not a joke]
I'd rather have a simple site that works in Mozaic 1.0 than something
that only mostly kinda sorta works in
On Tue, May 8, 2007 1:17 am, Derick Rethans wrote:
On Mon, 7 May 2007, Lukas Kahwe Smith wrote:
Stanislav Malyshev wrote:
can write this data to disk. So, you needs 20MB. If serialize
(and of
course unserialize) would be able to write directly to disk (or
read
directly from disk),
What purpose does this serve, exactly?...
Seems like anybody who can intercept the upload and send bad file data
can also send a matching MD5 for the bad data...
Actually, re-reading the message clarified for me that you're doing
this only to save the time of whatever it would take to do an MD5
On Mon, May 7, 2007 2:30 pm, Dirk Haun wrote:
Ilia Alshanetsky wrote:
I sure hope those nifty Web 2.0 sites don't use SOAP and XML-RPC but
rather JSON or REST.
Okay, but XML-RPC is used for Pingbacks, Trackbacks, and for pinging
weblog directories like Technorati. That's something like the
On Mon, May 7, 2007 1:17 am, Andi Gutmans wrote:
I see no value in making compatibility breaks in 5.x and not in the
next
major version. As it is we drive a lot of our users crazy. We already
agreed this is a 6.x thing.
+1
If there has to be a 5.3, I'd want to see features that:
are
On Fri, May 4, 2007 1:09 pm, Antony Dovgal wrote:
If you don't like PECL or think it's too difficult to use, let's make
it easy enough for all.
How easy is it for an average user on a shared host that needs X, to
use pecl to get X, without an intervention by the webhost?
I know y'all don't
On Fri, May 4, 2007 4:49 am, Richard Quadling wrote:
Hey! It wasn't THAT scary! Just a table which has the most recent
activity on the left side columns.
Not too wide.
Easy to see which version and the either source or Win32 stuff.
And also all the additional files requested.
I like the
On Fri, May 4, 2007 12:46 pm, Ilia Alshanetsky wrote:
2) Add open_filename debug info to streams
What would this mean for performance and memory usage of file ops?
An additional malloc and strcpy on opening and an additional free
on closing. We could however limit actual use to
On Thu, May 3, 2007 2:34 am, Andrew Brampton wrote:
- Original Message -
On Sat, April 28, 2007 1:03 pm, Pelle Ravn Rosfeldt wrote:
Is it possible to make a while with a else-statement in PHP6?
I know that it's not the first time this subject is up, but my
research
shows that a lot
On Sat, April 28, 2007 1:03 pm, Pelle Ravn Rosfeldt wrote:
Is it possible to make a while with a else-statement in PHP6?
I know that it's not the first time this subject is up, but my
research
shows that a lot of people miss it. Including me.
Here's an example of what I mean:
On Wed, April 25, 2007 10:21 am, Richard Quadling wrote:
Running PHP via ISAPI on Sambar Server.
I have a script which is allowed to take a long time.
The user has an Abort option and via clever use of sessions, the
script can be terminated.
[This answer probably belongs on php-general, but
On Wed, April 25, 2007 1:43 pm, Mauro N. Infantino wrote:
definitions are taking more time in PHP5.2.x. The problem I'm facing
is that
I'm trying to benchmark this, but I'm not being able because I can not
find
the way to iterate this case enough times to get a significant number.
eval()'d
On Tue, April 24, 2007 11:16 am, Rasmus Lerdorf wrote:
Chris Malton wrote:
// secure variables from outside
$modxtags = array('@script[^]*?.*?/script@si',
'@#(\d+);@e',
'@\[\[(.*?)[EMAIL PROTECTED]',
'@\[!(.*?)[EMAIL PROTECTED]',
On Tue, April 24, 2007 2:40 pm, Pawe³ Stradomski wrote:
Derick Rethans wrote:
On Tue, 24 Apr 2007, David Lindstrom wrote:
Still, PHP should never segfault?
Almost never... stack overflows are okay.
regards,
Derick
I' ve run into PHP segfaulting (infinte loop of two constructors)
On Tue, April 24, 2007 3:22 pm, Derick Rethans wrote:
On Tue, 24 Apr 2007, Pawe? Stradomski wrote:
Derick Rethans wrote:
On Tue, 24 Apr 2007, David Lindstrom wrote:
Still, PHP should never segfault?
Almost never... stack overflows are okay.
I' ve run into PHP segfaulting (infinte
On Tue, April 24, 2007 4:02 pm, Ci wrote:
Tijnema ! napisa³(a):
I believe that the source string needs to be 0 terminated (\0).
Don't ask me how to fix it ;)
Thanks all of You. I solve all problems. Hmmm, maybe there are some
things to make better, but the main idea is solved.
BTW.
On Tue, April 17, 2007 8:15 am, Hannes Magnusson wrote:
On 4/17/07, Christian Schneider [EMAIL PROTECTED] wrote:
Hannes Magnusson wrote:
7. add E_STRICT to E_ALL DONE (dmitry)
My dictionary says that all means *all*, not all except this
and
this and sometimes not that.
E_ALL should
On Tue, April 17, 2007 3:18 am, David Sklar wrote:
On 4/17/07, Peter Hodge [EMAIL PROTECTED] wrote:
Hello,
A soft memory limit could be very useful; it doesn't necessarily
need to throw
an error, but it would provide an opportunity to free some memory
and prevent
the script from crashing.
On Tue, April 17, 2007 3:16 am, David Sklar wrote:
Richard Lynch [EMAIL PROTECTED] wrote:
You might also come at it from the other direction and detect/notify
at some number smaller than the current hard limit, configurable in
php.ini...
This might play better with anything relying
You might also come at it from the other direction and detect/notify
at some number smaller than the current hard limit, configurable in
php.ini...
This might play better with anything relying on the current behaviour.
On Mon, April 16, 2007 5:19 am, David Sklar wrote:
I am interested in being
On Sat, April 14, 2007 4:49 am, Bart de Boer wrote:
And let me stress that this is something we're *forcing* people to do
when they're on a short tags enabled server... It's not something
they're allowed to do at free will... PHP's convention is currently
responsible for people creating
On Sat, April 14, 2007 11:07 am, Marcus Boerger wrote:
Hello Guilherme,
?= is also not confirm toxml spec. What we could do is ?echo.
I just don't understand why you think PHP source should conform to XML
spec...
I might use PHP to produce compliant XML.
But my PHP source code itself is
PHP source as an XML document...
[shudder]
--
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
On Fri, April 13, 2007 12:08 pm, Andrew Hutchings wrote:
Especially because a lot people use shared hosting these days, and
that means that they all run on the same apache. and so they would
share the same application variables. So if person a b both
install the same script on a different
On Thu, April 12, 2007 6:00 pm, Robert Deaton wrote:
I understand the need to remove short tags. Here's the reason: ?xml.
That's it?
I mean, we've co-existed with ?xml just fine for some time now,
allowing users to choose short_tags or XML, but not both, by setting
php.ini up the way they
On Fri, April 13, 2007 9:16 am, Tijnema ! wrote:
I don't see why you are all against dropping the ASP tags. I see
people using ASP PHP in one script, what would that do? If ASP runs
first then there isn't a problem, but if PHP runs first, it would
execute the ASP code.
There are actually
On Thu, April 12, 2007 3:12 pm, Antony Dovgal wrote:
Surely we must to keep a setting just because two people in the world
use it.
I'm afraid their apps won't run on PHP6 anyway because of numerous
major changes
(already done and still planned), so one more cleanup won't hurt
anyone.
What
On Wed, April 11, 2007 6:29 pm, Oliver Block wrote:
did you ever discuss a feature like 'application variables'? What I
mean is that a bunch of scripts builds a logic application which is
e.g. able to share variables. While session variables can be used to
store values between script files for
On Thu, March 22, 2007 8:09 am, Christian Schneider wrote:
Plain old google brought up:
http://groovy.codehaus.org/Martin+Fowler's+closure+examples+in+Groovy
among other hits (Groovy syntax should be easy enough to follow).
He said real-life examples (-:C
I said real-life NEED, as in, I
On Wed, March 21, 2007 2:47 am, Tijnema ! wrote:
On 3/21/07, Richard Lynch [EMAIL PROTECTED] wrote:
I splice the ID3 tags onto the front of an MP3 stream in PHP on this
site:
http://uncommonground.com/
The id3 library in PHP is quite good at this, but needs a
maintainer...
Well
On Wed, March 21, 2007 3:57 am, Antony Dovgal wrote:
I don't think anybody sane is doing audio encoding and video resizing
in PHP.
PHP is about interface, clients are not going to wait an hour or two
for a page to load.
E.
Actually, I have many PHP scripts with fire up exec processes to
On Wed, March 21, 2007 3:57 am, Antony Dovgal wrote:
I don't think anybody sane is doing audio encoding and video resizing
Whoops!
Sorry.
I missed the part about being sane.
That makes my previous post invalid.
:-)
--
Some people have a gift link here.
Know what I want?
I want you to buy a
On Mon, March 19, 2007 11:59 pm, Andi Gutmans wrote:
There are various ways to go about implementing this. While reading
your
email I've had another couple of ideas incl. some funky parameter
passing games. All these ideas are legit and have pros/cons but what's
most important is actually
On Sun, March 18, 2007 6:41 pm, Wez Furlong wrote:
We've been daydreaming about the ability to do something like this in
PHP:
$data = array(zoo, orange, car, lemon, apple);
usort($data, function($a, $b) { return strcmp($a, $b); });
var_dump($data); # data is sorted alphabetically
I'd LOVE
On Sun, March 18, 2007 7:30 pm, Wez Furlong wrote:
I found another flaw; when used in a loop it keeps trying to declare
the same function over and over. I think this is because the
ZEND_DECLARE_FUNCTION opcode is emitted as part of the arg list
building op sequence.
I'm poking to find an
On Mon, March 19, 2007 3:35 pm, Robert Cummings wrote:
On Mon, 2007-03-19 at 15:20 -0500, Richard Lynch wrote:
On Sun, March 18, 2007 6:41 pm, Wez Furlong wrote:
We've been daydreaming about the ability to do something like this
in
PHP:
$data = array(zoo, orange, car, lemon, apple
I think the anonymous name having metadata about the __FILE__ __LINE__
__COLUMN__ would be pretty nifty for error messages and debuggers...
I'm a bit tired of seeing Error: blah blah in Unknown on line: 0
personally. :-)
This presumes somebody would take the effort to de-construct that
metadata
On Mon, March 19, 2007 2:33 pm, Wez Furlong wrote:
I've been thinking about this on and off today too.
Something along the lines of the following is more in the PHP spirit:
$ver = phpversion();
$fancyVer = function () { lexical $ver; return PHP $ver; };
Where lexical is a keyword that means
On Mon, March 19, 2007 1:59 pm, Bankó Ádám wrote:
2. In C I can implement all the structure I want (as long it's sane)
without much worrying about what performance cost it will have. I
wouldn't do the same in PHP. I'm talking about separate classes for
every database column type and abstract
On 3/16/07, Oliver Block [EMAIL PROTECTED] wrote:
Hello,
I receive a segmentation fault on a
RETVAL_STRING(some_module_global, 1);
The problem disappears if I change it to
RETVAL_STRING(some_module_global, 0);
Is anybody interested in the data?
Regards,
Oliver
As I understand
On Mon, March 19, 2007 4:55 pm, Stanislav Malyshev wrote:
You have to have a pretty esoteric function to need that kind of
scope
control, no?
Depends on your background. Some people consider LISP intuitive
language
:) And if you work with Javascript, you probably would be doing it
daily
-
On Mon, March 19, 2007 5:33 pm, Stanislav Malyshev wrote:
Can't you just take the body of create_function with the syntax of
the patch, and marry those two?
Well, that'd be a bit hard since the whole difference is that
create_function is runtime (thus having access to run-time values)
while
201 - 300 of 446 matches
Mail list logo