Preskoči na sadržaj
Moj profil

izvorni znanstveni rad · 2015

Basic PHP implementations, opcodes, and internal work

dr. sc. Alen Šimec, prof. struč. stud.

Sažetak

The main purpose of this paper is to investigate how PHP works internally, how variables, arrays, objects etc. are stored in memory. The paper will cover some generated series of operation codes, commonly known as “opcodes”, and why advanced PHP programmers should know, at least, basics of PHP “under-the-hood”. Also, one of the goals is to show how function calls and classes work internal- ly, basic concepts like “is pre-increment or post-in- crement faster” and, as a PHP developer, what you should or should not do in your code.

Ključne riječi

php internals