Jump to content

Namespaces patch for old php versions <5.3


Recommended Posts

Hi guys,

I have a script to install based on old namespaces which was supported by unofficial patch with separator - "::"

and the usage is this:

 

import Framework::Login::PasswordResset;

 

istead of the official namespaces in 5.3 which are

 

use  Framework\Login\PasswordResset;

 

Please help me out to locate this patch.

Link to comment
https://forums.phpfreaks.com/topic/209556-namespaces-patch-for-old-php-versions/
Share on other sites

  • 2 weeks later...

The script is too big to be converted to work with the new PHP5.3 because too many differences occur.

I found the patch http://news.xp-framework.net/article/204/2007/07/21/PHP6_Namespaces_patch_backported

but after I try to install it does not work. Also found a distribution of PHP with installed patch which also does not work

http://www.box.net/shared/kdlkr7yqsj#/shared/kdlkr7yqsj/1/8444597/82476703/1

 

Very discouraging, no success for now. I actually offer payment (PayPal) for someone who is willing to help to install it on my VPS.

Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.