Closed semoriil closed 8 years ago
when you pass these through the converted are you wrapping them in <?php ... ?> ?
Yes. Some files use short tags <? ... ?> but not this one. If you check Converter.php of this project you can see there is no convertion for mysql_set_charset. It's not big problem for me - i call it only once for whole my project - but anyway...
I must admit I gave this conversion tool a go last night and it worked very well. However in the end I decided to make the changes myself because I didn't like the globals being set. Took a lot longer but the end result is a lot cleaner.
I confirm this issue.
This was fixed via pull request #17 -- thank you for filing this bug report!
Was
converted to
Shoul be replaced with something like