[PHP] Namespaced code with SabreDAV

2011-10-06 Thread Andrew Mason
Hello all, I am trying to use the wonderful SabreDAV library to create a webdav share. I have a demo up and running however the framework / class i'm using is namespaced, and SabreDAV unfortunately does not have a 5.3 style namespace declaration. I have an spl_autoload function registered in my ba

Re: [PHP] Is 5.3.5 really that much slower than 5.2?

2011-03-06 Thread Andrew Mason
> Is anyone else out there in the same boat? Actually we have found the complete opposite so there might be some people who are in the same boat as you but certainly not all. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Disk IO performance

2010-11-28 Thread Andrew Mason
On Mon, Nov 29, 2010 at 12:09 PM, Larry Garfield wrote: > There are many things that everybody "knows" about optimizing PHP code.  One > of them is that one of the most expensive parts of the process is loading code > off of disk and compiling it, which is why opcode caches are such a bit > perfor

Re: [PHP] Re: Which PHP 5.3 documentation generators have you found?

2010-09-30 Thread Andrew Mason
On Fri, Oct 1, 2010 at 6:44 AM, David Harkness wrote: > While we don't use any 5.3 specific features such as namespaces yet, we set > up our continuous integration system to use Doxygen. It runs significantly > faster than phpDocumentor, though we put zero effort into tuning either > system. > I

Re: [PHP] Can't read $_POST array

2010-08-18 Thread Andrew Mason
On Thu, Aug 19, 2010 at 7:41 AM, Daevid Vincent wrote: > You've got something jacked. DO NOT proceed with your coding using this > hack. > > Put this in a blank file named whatever_you_want.php and hit it with your > web browser. > >

[PHP] PHP 5.3 Code Documentor

2009-12-09 Thread Andrew Mason
Hi all, Is anyone aware of a code documentation generator like phpdoc or doxygen that supports the PHP 5.3 namespaces ? I tried adding support to doxygen myself but didn't have a whole lot of luck and didn't have huge amounts of time to spend on learning flex/yacc. Andrew -- PHP General Mailing

Re: [PHP] Spry, XML, PHP and XSLT Hell

2009-10-05 Thread Andrew Mason
On Tue, Oct 6, 2009 at 4:37 AM, Nathan Nobbe wrote: > On Mon, Oct 5, 2009 at 10:10 AM, Matthew Croud wrote: > >> Hello, >> >> Is there anyone here who uses Spry with XML and PHP and understands XSLT, >> At the moment i'm in development hell and have a rather bloated question to >> ask someone who

[PHP] Namespace resolution performance implications

2009-07-31 Thread Andrew Mason
Hi Guys / Girls, We are transitioning our framework to use the namespaces which are available in php 5.3. I found an explanation of the resolution rules here : http://www.sitepoint.com/blogs/2009/07/14/php-namespaces-import-alias-resolution/ ( also listed below) and I was wondering what the perfo

[PHP] extending Xpath

2008-05-01 Thread Andrew Mason
Hi, I was wondering if it was possible to extend the DOMXpath object in a similar fashion to the DomDocument. I was hoping to write a wrapper to provide an interface similar to prepared statements in the db libraries for the xpath processor. $xpath = new myxpath(); $stmt = $xpath->prepare("/foo