This works only with Php 5.3, could you please also support 5.2 plz

Comments

kaizerking’s picture

Probably this line is incompatible with php5.2
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in H:\wamp\xxxxx\erpfreelancers\sites\all\modules\phone\phone.module on line 154

Parse error: parse error in H:\wamp\www\xxxx\sites\all\modules\phone\phone.module on line 154

cdale’s picture

Status: Active » Closed (won't fix)

The libphonenumber library requires PHP 5.3, as it uses namespaces. It's doubtful this module will ever support 5.2, without major re-work. You might be able to achieve it by manually removing all the namespace and use code form the libphonenumber library, and them remove all "libphonenumber\" strings.

But I won't be doing any of this, so marking as won't fix.