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, it is a start, now only processing work needs to be done :
Stanislav Malyshev wrote:
$_SCOPE doesn't need to be that special... It can just be an object
with overloaded array access... Whenever a dim is fetched for that
object, check current_execute_data->prev->symbol_table for the
variable and return that.
Once again - current_execute_data->prev at
On Tue, 20 Mar 2007 13:17:24 +0100
Michael Wallner <[EMAIL PROTECTED]> wrote:
> Michael B Allen wrote:
> > Hi,
> >
> > Is there a way to get the version of the PHP binary that loaded an
> > extension from within the extension? I don't mean the PHP version the
> > extension was compiled with (PHP_
Hello guys,
Thanks to you last summer has been a great occasion to write the phpAspect
project and the pecl Parse Tree extension.
In order to popularize phpAspect, I would like to write this summer an
eclipse plugin for phpAspect.
Is this idea would be interesting for you guys ?
Best regards,
On Tue, 2007-03-20 at 19:02 -0500, Richard Lynch wrote:
>
> Though that will probably end up with a bunch of scripters using
> out-of-scope vars with no clue what they just did and how morally
> wrong it was to use an intentionally undocumented feature.
Without the right tool, the data needs will
$_SCOPE doesn't need to be that special... It can just be an object with
overloaded array access... Whenever a dim is fetched for that object,
check current_execute_data->prev->symbol_table for the variable and
return that.
Once again - current_execute_data->prev at *closure runtime* has noth
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
Stanislav Malyshev wrote:
FWIW, this doesn't work with the other superglobals (in function
context):
[EMAIL PROTECTED]:~$ php -r '$_GET["foo"] = "bar"; function baz() { $get =
"_GET"; return ${$get}["foo"]; } $get = "_GET"; echo ${$get}["foo"],
baz(), "\n";'
bar
Notice: Undefined variable: _GET
Am 20.03.2007 um 23:42 schrieb Stanislav Malyshev:
what about "lambda", like in Python?
To most people without CS theory background lambda does not tell
anything, to people that have this background lambda reminds of
LISP - and I'm not sure this is better :)
Excellent! That means people
what about "lambda", like in Python?
To most people without CS theory background lambda does not tell
anything, to people that have this background lambda reminds of LISP -
and I'm not sure this is better :)
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/
Am 20.03.2007 um 15:24 schrieb Daniel Rozsnyo:
A function with a name is no longer anonymous ;)
I am not suggesting that there be a name.
I am suggesting that the reserved keyword for an anonymous function
should not be 'function', the same as a normal function.
I don't have anything against
Hi,
While fixing PECL Bug #10426, we found that php_checkuid_ex forces
CHECKUID_DISALLOW_FILE_NOT_EXISTS in read mode.
As php_stream_open_wrapper uses this functions, it is not possible to
call it using a non existing file without getting a warning when
safe_mode is On.
The related code is main
Guilherme Blanco wrote:
As I mentioned before, the best ORM tool I've notice is Doctrine, but
it has some issues that I can list if necessary. The point is not to
BTW: the lead author of Doctrine aready submitted an SoC project idea
for php.net on googles website.
regards,
Lukas
--
PHP Int
Sara Golemon wrote:
I am working on a command line client (written in php, run by
php-cli) and I'd like to use a password entry as in mysql client -
with no echoing etc. I've found the function which I need:
#include
char *getpass( const char * prompt );
But in man getpass it i
On 3/20/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
Hello Tijnema,
we have a few PECL extensions that deal with audio stuff. So it is
possible but that definitively requires a lot of C skills. Apply for
any of the ideas as a student on the GSoC page if you like.
best regards
marcus
Hi Marc
Hello Tijnema,
we have a few PECL extensions that deal with audio stuff. So it is
possible but that definitively requires a lot of C skills. Apply for
any of the ideas as a student on the GSoC page if you like.
best regards
marcus
Tuesday, March 20, 2007, 9:21:21 PM, you wrote:
> On 3/15/07,
On 3/15/07, Marcus Boerger <[EMAIL PROTECTED]> wrote:
Hello Tijnema,
cool, have a look at the site then. If Ilia didn't update it just wait a
bit - we are having network problems here during the conference.
best regards
marcus
Hi,
I read a lot of text, just for information and i like the id
If you just want to enter password on a Unix-like system you could use
the following:
/dev/null || " .
"stty -echo cbreak"
);
echo "$prompt: ";
// Get rid of newline when reading stdin
$r = substr(fgets(STDIN), 0, -1);
echo "\n";
system ("stty $ostty");
return
FWIW, this doesn't work with the other superglobals (in function context):
[EMAIL PROTECTED]:~$ php -r '$_GET["foo"] = "bar"; function baz() { $get =
"_GET"; return ${$get}["foo"]; } $get = "_GET"; echo ${$get}["foo"],
baz(), "\n";'
bar
Notice: Undefined variable: _GET in Command line code on line
Sorry, m n.
you are on a wrong mailing list.
you should try php.general
On 3/20/03, m n <[EMAIL PROTECTED]> wrote:
hi all i will be happy if anyone can help me about this problem
"how we can do Form authentication with php "
my mean is creating a login page in restricted area of site that only
Either that, or you need to store it in the op_array, which is "bad"
because you don't know when you can free that closure state, so you have
to carry it around for the rest of the request.
Well, this is a strong argument indeed. However adding new zval type is
a big step which adds complexity
> What if I doo $a = "_SCOPES", $$a[$foo]?
FWIW, this doesn't work with the other superglobals (in function context):
[EMAIL PROTECTED]:~$ php -r '$_GET["foo"] = "bar"; function baz() { $get =
"_GET"; return ${$get}["foo"]; } $get = "_GET"; echo ${$get}["foo"],
baz(), "\n";'
bar
Notice: Undefined
You need the callable type to store the closure information.
Either that, or you need to store it in the op_array, which is "bad"
because you don't know when you can free that closure state, so you
have to carry it around for the rest of the request.
I agree about $_SCOPES['foo']. I'm actua
of the function. Again, this would be created based on the $_SCOPES
fixup information, and again, $_SCOPES['i'] would be rewritten as
simply $i in the op_array.
So the funcs array might look like this is var_dump()'d:
0 => callable('__anon_0', array('i' => 0)),
1 => callable('__anon_0', array
I've been wanting a true first-class callable type for a while.
-Andrei
On Mar 19, 2007, at 5:02 PM, Wez Furlong wrote:
The second possibility would be to make a first-class callable zval
type which stores that information in the return value from the
function declaration. The callable typ
I am working on a command line client (written in php, run by php-cli)
and I'd like to use a password entry as in mysql client - with no
echoing etc. I've found the function which I need:
#include
char *getpass( const char * prompt );
But in man getpass it is marked as "This fun
Yes, with whipped cream on top.
-Andrei
On Mar 18, 2007, at 4:41 PM, Wez Furlong wrote:
So, the question is, do we want this in PHP?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
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", "c
I agree that the optimal solution would be a base ORM solution that all others
can build off of and use. Just like PDO, it doesn't have to be an end all
solution. Just implement the major features that all ORM projects have.
The mailing list is great to pick at the brains that have been buildin
Hi,
I'd like to help you in this working draft, but I don't have too much
experience with C/C++ to holp with code, but... I can try something.
Also, I suggested you that white paper since it supports almost
everything expected from a robust ORM tool. I still believe that your
performance gain w
Richard Lynch wrote:
I suspect that you could get away with JUST using global and/or static
as they exist now, not introduce yet another scoping keyword, and
anything that *NEEDS* to be done with an anonymous function can be
done.
Does anybody really *NEED* a variable whose scope is non-global a
Michael B Allen wrote:
> Hi,
>
> Is there a way to get the version of the PHP binary that loaded an
> extension from within the extension? I don't mean the PHP version the
> extension was compiled with (PHP_VERSION), I mean the version of the
> PHP binary itself?
>
> Can I call the phpversion fun
thanks to the demo script that bring us to this topic again. i must
agree that designing a language isn't as simple as most ppl might
think. so thank u if u keep thinking this topic.
i would remind that the static variable make it not cache friendly, so
i suggest the anonymous-name should be some
33 matches
Mail list logo