note 123425 added to opcache.configuration
| From: | wessos at example dot org | Date: | Wed, 12 Dec 2018 10:53:07 +0000 |
| Subject: | note 123425 added to opcache.configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209884@lists.php.net to get a copy of this message | ||
The optimization levels as of php 7.3 are the following:
#define ZEND_OPTIMIZER_PASS_1 (1<<0) /* CSE, STRING construction */
#define ZEND_OPTIMIZER_PASS_2 (1<<1) /* Constant conversion and jumps */
#define ZEND_OPTIMIZER_PASS_3 (1<<2) /* ++, +=, series of jumps */
#define ZEND_OPTIMIZER_PASS_4 (1<<3) /* INIT_FCALL_BY_NAME -> DO_FCALL */
#define ZEND_OPTIMIZER_PASS_5 (1<<4) /* CFG based optimization */
#define ZEND_OPTIMIZER_PASS_6 (1<<5) /* DFA based optimization */
#define ZEND_OPTIMIZER_PASS_7 (1<<6) /* CALL GRAPH optimization */
#define ZEND_OPTIMIZER_PASS_8 (1<<7) /* SCCP (constant propagation) */
#define ZEND_OPTIMIZER_PASS_9 (1<<8) /* TMP VAR usage */
#define ZEND_OPTIMIZER_PASS_10 (1<<9) /* NOP removal */
#define ZEND_OPTIMIZER_PASS_11 (1<<10) /* Merge equal constants */
#define ZEND_OPTIMIZER_PASS_12 (1<<11) /* Adjust used stack */
#define ZEND_OPTIMIZER_PASS_13 (1<<12) /* Remove unused variables */
#define ZEND_OPTIMIZER_PASS_14 (1<<13) /* DCE (dead code elimination) */
#define ZEND_OPTIMIZER_PASS_15 (1<<14) /* (unsafe) Collect constants */
#define ZEND_OPTIMIZER_PASS_16 (1<<15) /* Inline functions */
Source: https://lxr.room11.org/xref/php-src%40master/ext/opcache/Optimizer/zend_optimizer.h
----
Server IP: 208.43.231.9
Probable Submitter: 79.19.26.179
----
Manual Page -- http://php.net/manual/en/opcache.configuration.php
Edit -- https://master.php.net/note/edit/123425
Del: integrated -- https://master.php.net/note/delete/123425/integrated
Del: useless -- https://master.php.net/note/delete/123425/useless
Del: bad code -- https://master.php.net/note/delete/123425/bad+code
Del: spam -- https://master.php.net/note/delete/123425/spam
Del: non-english -- https://master.php.net/note/delete/123425/non-english
Del: in docs -- https://master.php.net/note/delete/123425/in+docs
Del: other reasons-- https://master.php.net/note/delete/123425
Reject -- https://master.php.net/note/reject/123425
Search -- https://master.php.net/manage/user-notes.php