burakkeskin / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Problems with mb_eregi() #201

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. include 'phpQuery.php';
2. phpQuery::newDocument($html_markup);
3. $tabs = pq('a[href="#tab"]');

What is the expected output? What do you see instead?
The output results in the following error:
Fatal error: Call to undefined function mb_eregi() in /path/to/phpQuery.php on 
line 1421

What version of the product are you using? On what operating system?
Version 0.9.5 on CentOS

Please provide any additional information below.
According to the PHP manual: http://php.net/manual/en/function.mb-eregi.php
It appears this function is experimental hence I believe a lot of PHP installs 
do not use it. It would be ideal if this script either didn't use it, or 
supported an alternate method if mb_eregi is not a defined function.

Original issue reported on code.google.com by briandic...@gmail.com on 20 Jan 2012 at 9:21

GoogleCodeExporter commented 8 years ago
Having the same problem

Original comment by virk.off...@gmail.com on 13 Sep 2012 at 8:31