Categories
- agile (3)
- algorithms (62)
- cheatsheets (2)
- css (29)
- data structures (22)
- download (3)
- dynamic programming (1)
- featured (46)
- flex 3 (25)
- Graphs (10)
- javascript (139)
- micro tutorial (204)
- PHP (113)
- portfolio (5)
- quiz (7)
- snippets (7)
- video (1)
- web development (168)
- zend framework (82)
Category Archives: PHP
It’s Not True that PHP Arrays are Copied by Value
PHP, Arrays & Passing by Reference Do you know that objects in PHP5 are passed by reference, while arrays and other scalar variables are passed by value? Yes, you know it, but it’s not exactly true. Let’s see some example … Continue reading
Posted in PHP, zend framework
Tagged Array slicing, C, C programming language, Comparison of programming languages, J, PHP
3 Comments
PHP and MySQL Natural Sort
Use Case Let’s say we have an array of data represented by some text followed by a number. Just like the movies from a movie series like “Mission Impossible” or “Pirates of the Carribean”. We know that they are often … Continue reading
PHP Strings Don’t Need Quotes
I bet you didn’t know that PHP strings don’t need quotes! Indeed PHP developers work with strings with either single or double quotes, but actually in some cases you don’t need them. PHP by Book Here’s how PHP developer declare … Continue reading
How to Dump the Generated Zend_Db SQL Query
The Typical PHP Approach Typically a PHP programmer will write his SQL query as a string and will execute it via mysql_query. $sql = "SELECT * FROM my_table"; $resource = mysql_query($sql); So eventually when you want to dump this “complex” … Continue reading
Posted in PHP, zend framework
Tagged controller, Cross-platform software, debug, From, Insert, PHP, PHP programmer, PHP programming language, select, SQL, SQL keywords
Leave a comment
