Also see the PHP/MySQL Questions and General CS Questions.
php-unit
or another package? Tell me about how it went, and some of the pros & cons.GET
request and a POST
request? What are the high-level differences between each?<?
instead of <?php
)?ereg_match()
and preg_match()
? $str = “foo”
) vs single quotes ( $str = 'foo'
) to initialize strings? What is the difference?urlencode()
and urldecode()
, and why do you need them? What about rawurlencode()
and rawurldecode()
? What's the difference?public
, private
and protected
?$this→myFunction()
and self::myFunction()
?_destruct()
called?try-catch
block works.final
mean?_sleep()
and _wakeup()
functions do? (Hint: in reference to serialize()
and unserialize()
)_get()
and _set()
? What are some (dis)advantages to using _get()
& _set()
over conventional getter and setter functions?