On Thu, Jul 16, 2009 at 7:42 AM, David
Otton wrote:
>> If it's catchable, why isn't it caught in my example?
>
> It's not an exception, it's a "fatal error". Fatal errors are caught
> by error handling functions, not by catch blocks.
>
> Consequence of having (at least) two separate error handling
So, I've got a little piece of code designed to play with catching the
exception that's thrown when an object doesn't have a __toString
method.
This does not run as expected. I'd think that when the implicit string
conversion in the try block hits, the exception would be thrown,
caught by the ca
On Thu, May 21, 2009 at 12:10 PM, tedd wrote:
> Could you be certain that your algorithm would figure out which way it needs
> to present the text to a blind person?
My own experience browsing the web with Lynx (which for the most part,
tends to ignore table layout, giving you the content of tabl
Is there a straightforward way (or, heck, any way) of placing mixed
html/text content into xpath-specified nodes using any of PHP's XML
tools?
So far, I've tried SimpleXML and the DOM and things aren't coming out well.
SimpleXML:
/* $filename contains path to valid XML file, $xpathxpr conta
On Thu, 2009-05-21 at 09:54 -0400, tedd wrote:
> My thoughts are -- my understanding the reason why tables have
> received such bad-press is that designers have abused tables in
> holding designs together with nested tables AND in doing so made it
> difficult for the visually disabled to pull conte
On Tue, Aug 19, 2008 at 9:43 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Is there a particular reason you are downgrading?
I'm pretty happy with some of the features in 5.3, but have been asked
to work with a codebase that turned out to have some issues under 5.3
that didn't show up under 5.2.x.
I recently downgraded from a build of 5.3 to 5.2.6 on OS X, and had a
bit of time figuring out what was going on when "make install" didn't
seem to actually copy the CLI binary and Apache SO to their target
spots.
Has anyone else seen this problem?
What category would a bug report for this be und
I just switched over an app from PHP 4 to PHP 5, and one of the weird
things I'm noticing initially is that some of the html output seems to
be html entitized. For example, a link that was showing up in html
output as:
"http://metaphilm.com/philm.php?id=29_0_2_0";>Is Tyler Durden
Hobbes?"
now ge
Just curious if anyone knows the rough timeline for PHP 5.3.
Also curious if anyone knows whether anon functions/closures or a
shorter JSON-ish array syntax are being considered for inclusion. I
know there were two patches announced in December/January:
http://marc.info/?l=php-internals&m=1198336
On Thu, May 29, 2008 at 7:11 PM, Chris <[EMAIL PROTECTED]> wrote:
> See http://www.php.net/dl (though a lot of hosts disable this
> functionality for security reasons).
Fortunately, I'll have full control of the hosting environment in the
context this matters. :)
dl is definitely interesting, bu
This might be a dumb question with an obvious answer somewhere, but
I'm wondering if it's possible to build php extensions as shared
objects that plug into the PHP binary much like an apache shared
module plugs into apache.
Is PECL close to this?
Sorry if this is obvious. Searches on the topic a
In a setup like you've got with a SimpleXML object, where object
properties aren't necessarily declared in the class definition but are
added on an ad hoc basis, is there any performance hit?
If not, other than the ability to mark properties as private, is there
any other particular advantage to d
On 4/19/07, Edward Vermillion <[EMAIL PROTECTED]> wrote:
Fedora, and I'm assuming RedHat and possibly others that use their
system layout, will put the loading line in /etc/httpd/conf.d/
php.conf so yes it can be in an external configuration file.
That's the exact location, and it's a shared o
On 4/19/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Thu, April 19, 2007 4:08 pm, Weston C wrote:
> What ways are there to tell if PHP is actually built into an Apache 2
> installation or if it's installed as a shared object?
>
> phpinfo() / Server API value .. just
What ways are there to tell if PHP is actually built into an Apache 2
installation or if it's installed as a shared object?
I've dropped a file containing phpinfo() on the server I'm looking at,
hoping the Server API value would give me a clue, but it just says
"Apache 2.0 Filter," and I don't kn
I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS
X. When I invoke configure, I get the following error message:
"checking whether to enable embedded MySQLi support... no
mysql_config not found
configure: error: Please reinstall the mysql distribution"
Now, mysql (4.1.22) is
16 matches
Mail list logo