Tips $ Tricks

Cannot turn on short_open_tag with ini_set

You used ini_set(‘short_open_tag’, ‘1’), but it does not take effect
then change the tags e.g.

perl -e “s/<\?\s/<\?php /g;” -pi.old $(find ./ -type f)

 

Function split() is deprecated in

$valueSplit = split(“,”, $values);
preg_split() is the alternative to use now, if you need regular expressions.
$valueSplit = preg_split(“,”, $values);
or explode() for simple string delimiters,
list($a,$b) = explode(“,”,$values);

1 Comment on “Tips $ Tricks

  1. March 27, 2012 at 12:29 pmHi, I am webmaster of a traevl website. I liked this website and want my link to be placed somewhere in this website in your consideration. in return I will also give you a link from equal important page from my network traevl website. If interested please mail me your webmaster mail id. Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

*