October 2008

01
Nov
2008
admin

Regular expression in PHP

Regular expressions (abbreviated as regex or regexp, with plural forms regexes, regexps, or regexen) are basically pattern matching inside of text. Regular expressions are used by many text editors, utilities, and programming languages to search and manipulate text based on patterns. For example, Perl, Ruby and Tcl have a powerful regular expression engine built directly into their syntax.

27
Oct
2008
admin

PHP Optimization Tips

1. If a method can be static, declare it static. Speed improvement.

2. str_replace is faster than preg_replace, but strtr is faster than str_replace .

3. $row['id'] is 7 times faster than $row[id] , because if you don't supply quotes it has to guess which index you meant, assuming you didn't mean a constant.

4. Do not use functions inside of for loop, such as for ($x=0; $x < count($array); $x) The count() function gets called each time.

5. echo is faster than print

11
Oct
2008
admin

Resume of Mohiuddin Ahmed Abir

Contact Information

706, Dewan Villa(Ground Floor, Right Side, flat-2),
West Shewrapara, Mirpur, Dhaka
Email: abirmmu@yahoo.com , abirmmu@gmail.com
URL: http://abir.kumarkhali.com/

Career Objective:

To have a challenging position in a progressive organization where I can utilize my technical knowledge, experience, skill and creativity to build my carrier in IT field to be good Professional.