Is there a mysterious trick to use it on Mac OSX 10.3.x??
-- Dale
On Feb 09, 2005, at 02:04, Wez Furlong wrote:
Dan Scott mentioned to me that he has someone that is (or soon will
be) working on a test suite.
While a test-suite is good, it's also good for people to actually sit
down and try to use
I was wondering if anyone can comment on this idea
cause I think it would be a great asset to PHP and to OOP in PHP..
example:
$b = 4;
$a = new Integer(4);
if($a == $b) {
//bla bla
}
Other classes would include String(), Integer(), Boolean() ... and so on...
--
PHP Internals - PHP Runtime
Wez Furlong wrote:
I'd like to encourage you all to try it out; as you should know, we're
going to be releasing PDO as part of PHP 5.1, so we need as many
people as possible to play around with it to discover any remaining
issues.
As a longtime user of ADOdb, converting to something new may not be
That's my whole point Marcus, but the nature of the native floating point
types is something you can get around by implementing your own floating
point type, based on a base-10 system, in the same way that for example
bcmath does it. So my suggestion is; stop using float and double, and make
your
Hello Ante,
autoboxing is an ugly java 1.5 workarount to enable storage of base
tyoes in containers. There this trick is necessary because as always
in java everything must be an 'Object'. In contrast PHP is a loosly
typed language where a container aka array can store any type. Apart
from that
Hi Marcus and thanx for the explanation
And I agree that PHP is very loose which is his strong part but
exactly because of that I think it would be nice if the end-user can have
the ability to work with primitives like they were objects...
I didn't want to suggest that PHP should implement
We had a request to install the ext/gd headers, which are needed to
compile the pdflib extension. Any objections? I've tested this to at
least build the PECL pdflib module.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=145891
Index: scripts/Makefile.frag
On Wed, 09 Feb 2005 08:41:50 +, Lester Caine [EMAIL PROTECTED] wrote:
I'm not seeing an easy route to getting hold of a copy to play with
(windows :( ) and I'm not seeing much in the function list yet.
http://snaps.php.net/win32/PECL_5_0/ has binaries for all PDO packages
(including MS-SQL,
On Wed, 9 Feb 2005 00:55:46 -0500, Wez Furlong [EMAIL PROTECTED] wrote:
You may have noticed my drive-by release of various different PDO
packages tonight/this morning.
This is stage one of the PDO push.
Woo-hoo! The world rejoices (well, at least this small part of the world).
snip /
Dan Scott wrote:
The PHP manual:
http://www.php.net/manual/en/ref.pdo.php
I've committed a number of changes since the manual was last built; is
there a manual refresh in the works, or would Livedocs be able to
handle the testers' load if we linked to that?
http://livedocs.phpdoc.info/pdo
Please
Hello,
when use of nonexistent object happens, PHP generates E_STRICT
message (Creating default object from empty value) -
via make_real_object (zend_execute.c).
Unfortunately, it appears only if it's like:
$idontexist-someinteger = 1;
$idontexist-somestring = 'foo';
$idontexist-somearray =
Is it possible to intercept a function call (user
space or built-in) in the Zend Engine and execute user
space code before/after the function call?
Yes, you can do this by way of a Zend extension (not a PHP extension mind
you).
The parts of Zend/zend_extensions.h you'll want to pay attention
On Feb 9, 2005, at 10:57 AM, Sara Golemon wrote:
Is it possible to intercept a function call (user
space or built-in) in the Zend Engine and execute user
space code before/after the function call?
Yes, you can do this by way of a Zend extension (not a PHP extension
mind
you).
The parts of
Hey guys,
Just a quick reminder; needing a couple of blurbs for the upcoming meetings.
H
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Dan Scott wrote:
On Wed, 9 Feb 2005 00:55:46 -0500, Wez Furlong [EMAIL PROTECTED] wrote:
I've committed a number of changes since the manual was last built; is
there a manual refresh in the works, or would Livedocs be able to
handle the testers' load if we linked to that?
To stay in sync with
Wez Furlong wrote:
I'm not seeing an easy route to getting hold of a copy to play with
(windows :( ) and I'm not seeing much in the function list yet.
http://snaps.php.net/win32/PECL_5_0/ has binaries for all PDO packages
(including MS-SQL, which doesn't show up in the PECL package list
yet).
On Wed, 09 Feb 2005, Ante Drnasin wrote:
Hi Marcus and thanx for the explanation
And I agree that PHP is very loose which is his strong part but
exactly because of that I think it would be nice if the end-user can have
the ability to work with primitives like they were objects...
Why?
Please read the various links that I posted in the announcement; they
explain a number of design goals about PDO (particularly the OTN
article) that will answer your questions in more detail.
Here are some quick answers:
On Wed, 09 Feb 2005 16:28:38 +, Lester Caine [EMAIL PROTECTED] wrote:
On Wed, 09 Feb 2005, Hans Zaunere wrote:
Hey guys,
Just a quick reminder; needing a couple of blurbs for the upcoming meetings.
Here you go: blurb.
- Andrei
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
We've kicked off a doc build for php.net; it should update soon and
percolate down to the mirrors.
--Wez.
On Wed, 09 Feb 2005 18:18:43 +0200, Jacques Marneweck [EMAIL PROTECTED] wrote:
Dan Scott wrote:
On Wed, 9 Feb 2005 00:55:46 -0500, Wez Furlong [EMAIL PROTECTED] wrote:
I've
Hi NG!
This is my first post to this NG and would like to prefix my question with
the following:
- I have read the manual, thoroughly. There is absolutely nothing in there
apart from how to call the funtion.
- I have searched the mailing list archives, to no avail.
- I have grep'ed the source,
Wez Furlong wrote:
Please read the various links that I posted in the announcement; they
explain a number of design goals about PDO (particularly the OTN
article) that will answer your questions in more detail.
Not into Oracle ;) , but it answers the main questions. PDO is not
planned to be a
On Wed, 09 Feb 2005 17:16:07 +, Lester Caine [EMAIL PROTECTED] wrote:
Not into Oracle ;) , but it answers the main questions. PDO is not
planned to be a replacement for ADOdb.
Correct.
No. That is something for another layer. PDO is intended to be a
very light layer with minimal
typedef void (*fcall_begin_handler_func_t)(zend_op_array *op_array);
typedef void (*fcall_end_handler_func_t)(zend_op_array *op_array);
struct _zend_extension {
...
fcall_begin_handler_func_t fcall_begin_handler;
fcall_end_handler_func_t fcall_end_handler;
...
};
What
Lester Caine wrote:
Not into Oracle ;) , but it answers the main questions. PDO is not
planned to be a replacement for ADOdb.
No. That is something for another layer. PDO is intended to be a
very light layer with minimal interference.
Until all engines can use the same SQL there is little
Sara Golemon wrote:
typedef void (*fcall_begin_handler_func_t)(zend_op_array *op_array);
typedef void (*fcall_end_handler_func_t)(zend_op_array *op_array);
struct _zend_extension {
...
fcall_begin_handler_func_t fcall_begin_handler;
fcall_end_handler_func_t fcall_end_handler;
php_stream *base_dir = NULL;
php_stream_context *context = NULL;
TSRMLS_FETCH();
base_dir = php_stream_opendir (TMPL_G(template_dir),
ENFORCE_SAFE_MODE|REPORT_ERRORS, context);
That code is (on the surface at least) fine.
However, everytime I try to run the module with this last line, I
Lukas Smith wrote:
We are lobbying Oracle to add limit support, but thats another topic.
If that happens I want royalties!
-Rasmus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--- George Schlossnagle [EMAIL PROTECTED] wrote:
On Feb 9, 2005, at 10:57 AM, Sara Golemon wrote:
Is it possible to intercept a function call (user
space or built-in) in the Zend Engine and execute
user
space code before/after the function call?
Yes, you can do this by way of a
Wez Furlong wrote:
One of the major aims of PDO is to eventually replace the existing
database extensions in PHP, not to provide total abstraction (which is
a impossible goal in the opinions of many seasoned developers).
Have not found a problem building cross database packages. As long as
you
Hello,
in php5.1 i get default value of omitted parameter only the first time
i call a function, all subsequent calls get the $tname set in the first call
(like static!). in php5.0 $tname is always empty if omitted (as it should be)
php5.1 updated from cvs on 6.02.2005
[code]
function
On Wed, 9 Feb 2005 [EMAIL PROTECTED] wrote:
I made a comment about the Aspect Oriented PHP article
on /. back in January that it'd be better to implement
that type of call interception within PHP itself, not
using some kind of preprocessor. The damn idea's been
stuck in my brain ever since.
Hi,
I am currently writing test cases for time sensitive code. Meaning this
code behaves different depending on the time of day. Obviously one
solution is to mess with the server time, but that is going to screw up
anything else going on the server.
The only solution that I have currently come
Lukas Smith wrote:
Hi,
I am currently writing test cases for time sensitive code. Meaning this
code behaves different depending on the time of day. Obviously one
solution is to mess with the server time, but that is going to screw up
anything else going on the server.
The only solution that I
Jochem Maas wrote:
Lukas Smith wrote:
Hi,
I am currently writing test cases for time sensitive code. Meaning
this code behaves different depending on the time of day. Obviously
one solution is to mess with the server time, but that is going to
screw up anything else going on the server.
The
Lukas Smith wrote:
Jochem Maas wrote:
...
maybe install a test setup on your local machine?
then you can mess with the local time, no problems?
this is what I do now, but obviously its far from ideal, especially
since you also want to be able to run your tests on your production
server to check
Wez Furlong wrote:
We've kicked off a doc build for php.net; it should update soon and
percolate down to the mirrors.
--Wez.
Hi Wez,
In the interim I've fixed the issue with
http://livedocs.php.mirrors.powertrip.co.za/ and it includes the pdo docs. :)
Regards
--jm
--
PHP Internals - PHP
Wez Furlong wrote:
You may have noticed my drive-by release of various different PDO
packages tonight/this morning.
This is stage one of the PDO push.
Are there plans for a mysqli driver for PDO? I searched around but I
couldn't seem to find an answer.
Is it a technical limitation or simply a
On Feb 9, 2005, at 7:45 PM, Marc Richards wrote:
Wez Furlong wrote:
You may have noticed my drive-by release of various different PDO
packages tonight/this morning.
This is stage one of the PDO push.
Are there plans for a mysqli driver for PDO? I searched around but I
couldn't seem to find an
George Schlossnagle wrote:
On Feb 9, 2005, at 7:45 PM, Marc Richards wrote:
Wez Furlong wrote:
You may have noticed my drive-by release of various different PDO
packages tonight/this morning.
This is stage one of the PDO push.
Are there plans for a mysqli driver for PDO? I searched around but I
Regarding backward compatibility option allow_call_time_pass_reference
one will find in the php.ini:
... future versions of PHP/Zend are likely not to support it.
A customer of mine relies heavily uppon that feature however, be it
wise to do so or not. He is now a little confused as to how
41 matches
Mail list logo