Books on php syntax for an experienced programmer in other languages


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
7 views
Nesovetuyu books for experienced programmers. I.e. I don't want the floor to read books then what are the odds that this iterator than the class differs from other object and the same in all the tongues of things, and especially about the OOP principles, it is now in every book I love to write. Has 4 years of experience programming in C++ and half a year in as3. Actually with php and I work on the little things, in principle, everything is usually okay, except for some moments. I want a book that will tell me why I cycle, and will tell you how the iterator in foreach and it works with copies of objects and not linking to them(I was very surprised, I in the foreach set the object property and output nothing). And other subtleties. For example, when objects are deleted. When there are extra copy and how to avoid them.
by | 7 views

6 Answers

0 like 0 dislike
Read Zend PHP Certification Study Guide. This preparation guide for certification, it perfectly describes the features of language. But the information there may be a little insufficient.
by
0 like 0 dislike
If the theory is not needed, then the subtleties will tell documentation.
by
0 like 0 dislike
Also had a superficial knowledge of PHP and wanted them to improve.
Read the book of koterova, her head cleared up. The truth was that for a long time and I do not remember, if there is a lot of information for beginners. But then the book I generally liked.
Book on Amazon:
\rwww.ozon.ru/context/detail/id/4030251/
by
0 like 0 dislike
Take any reference from Aurelie, there's usually the short and to the shelves. Given that You know C++ then You think.
by
0 like 0 dislike
PHP 5 in the original is quite good. Expressions, constants, data types, arrays, working with databases, OOP, etc.
by
0 like 0 dislike
in connection with the presence of a great manual on php.net with comments, no reason to repeat it in the books, so any books surface for dummies, or associated with patterns and architecture.
\r
I usually say that php should read two books — the first and schlossnagle (John.Schlossnagle "Professional PHP programming").
\r
answer the questions, because you have bugs.
foreach uses a delayed copy, the variables are copied only when modified, but objects are passed by reference from version 5.0 For objects, you can connect the Iterator interface from SPL
Variables and objects are deleted when links to them stanovitsya 0, deleting triggers the __destruct in 5.3 appeared a garbage. but the main feature of php is that you should not try to remove the variables if it is not cli, then let php itself cleans everything at the end of the script, the overhead for this is not sensitive. Pro up need to know one useful feature — the extension can work with PMTU its costs and thereby limit memory_limit and the process starts to get fat, but memory_get_usage will be silent as the grave.
\r
I worked with the developer of the programming to the pros. The main problem is re-optimized, which causes a lot of code, the code confusing and difficult to support, the worst — the constant desire to save money on associative arrays. Not counting cli applications, php, even with the goof coding will not eat all the RAM and the CPU, a weak spot — storadzh, width and speed of the data transmission channel. This is true for the vast majority of applications.
\r
with questions better phpclub.ru we may not be the most friendly forum, but professional.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
7 answers
110,608 questions
257,186 answers
0 comments
27,914 users