0

Can someone explain to me what exactly the --enable-inline-optimization option does when compiling PHP and why people would use it? Thank you!

1 Answer 1

0

You might check this Wikipedia article on inline expansion first to understand exactly what is meant by inline optimization. But essentially the compiler uses more memory (and generates a larger binary) to speed up the resulting program.

Here's a post to the php-dev list describing in a bit more detail the affect this option has.

3
  • I see. So this does not necessarily help in to increase the performance of php scripts?
    – Aco
    Jul 23, 2011 at 0:59
  • It could improve the performance of the PHP engine (Zend Engine), which in turn would improve the performance of the PHP scripts that it executes. (I don't know to what degree the performance could be affected, though – you'd have to test that.)
    – fission
    Jul 23, 2011 at 6:25
  • Ok thanks for the info. If you have anything else to add, please do so. Thanks again.
    – Aco
    Jul 23, 2011 at 6:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .