summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
Commit message (Collapse)AuthorAgeFilesLines
...
* | Refactor MySQLi (incompleted, only compilable now)Xinchen Hui2014-05-111-0/+2
| |
* | Make they are in the same style of Z_ISREFXinchen Hui2014-05-031-1/+0
| |
* | Split IS_BOOL into IS_FALSE and IS_TRUEDmitry Stogov2014-04-301-3/+0
| |
* | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * \ Merge branch 'PHP-5.6'Sara Golemon2014-02-171-0/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.6: Add __debugInfo() magic method
| | * Add __debugInfo() magic methodSara Golemon2014-02-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | class Foo { private $val = 'Random, meaningless data'; public function count() { return 42; } public function __debugInfo() { return ['count' => $this->count()]; } } $f = new Foo; var_dump($f);
* | | Optimized zend_leave_helper()Dmitry Stogov2014-04-181-2/+2
| | |
* | | Cleanup (1-st round)Dmitry Stogov2014-04-151-104/+22
| | |
* | | Fix ZTS buildNikita Popov2014-04-091-3/+3
| | | | | | | | | | | | | | | This only makes it compile, it doesn't actually work, presumably because interned strings are assumed in some places.
* | | Various VM optimizationsDmitry Stogov2014-04-041-1/+1
| | |
* | | Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), ↵Dmitry Stogov2014-04-031-3/+7
| | | | | | | | | | | | candidate for GC, etc)
* | | Avoid unnecessry reallocationsDmitry Stogov2014-04-011-1/+2
| | |
* | | Refactored data structures to keep zend_object* instead of a whole zval in ↵Dmitry Stogov2014-03-281-6/+6
| | | | | | | | | | | | some places
* | | Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2Xinchen Hui2014-03-261-4/+5
|\ \ \
| * | | Refactored IS_INDIRECT usage for CV and object properties to support ↵Dmitry Stogov2014-03-261-4/+5
| | | | | | | | | | | | | | | | HashTable resizing
* | | | Refactor session (incompleted)Xinchen Hui2014-03-261-2/+2
|/ / /
* | | Refactored EG(active_symbol_table) to be zend_array* instead of HashTable*Dmitry Stogov2014-03-171-3/+3
| | |
* | | Fixed reference supportDmitry Stogov2014-03-131-1/+6
| | |
* | | Fixed refcountedXinchen Hui2014-03-051-6/+6
| | |
* | | Fixied calling object closures from internal functionsDmitry Stogov2014-03-051-1/+1
| | |
* | | Changes zend_is_callable() to use zend_string* instead of char*Dmitry Stogov2014-02-251-4/+4
| | |
* | | Fixed exception constructorDmitry Stogov2014-02-211-0/+1
| | |
* | | Refacting smart_strXinchen Hui2014-02-181-1/+1
| | |
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-181-12/+4
| | |
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-171-7/+7
| | |
* | | Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2Dmitry Stogov2014-02-141-1/+2
|\ \ \
| * | | Use better data structures (incomplete)Xinchen Hui2014-02-141-1/+2
| | | |
* | | | Use better data structures (incomplete)Dmitry Stogov2014-02-141-0/+2
|/ / /
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-101-11/+11
| | |
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-101-110/+92
|/ /
* | Merge branch 'PHP-5.6'Xinchen Hui2014-01-031-1/+1
|\ \ | |/
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
* | Eliminate another straight forward TSRMLS_FETCH() in zend_startup_module()Kalle Sommer Nielsen2013-12-121-1/+1
|/ | | | | | | | # For THTTPD: # The code that uses a call to this function is for older versions of PHP anyway so its not covered # For Zend OpCache: # Added a new define for 5.6 and wrapped the code around that so its still compatible with older version
* Implement variadic function syntaxNikita Popov2013-09-261-9/+11
| | | | As per RFC: https://wiki.php.net/rfc/variadics
* Always pass return_value_ptr to internal functionsNikita Popov2013-08-311-0/+12
| | | | | | | | | | | | | | | | | Previous some places passed return_value_ptr only if the function returned by reference. Now return_value_ptr is always set, even for functions returning by-value. This allows you to return zvals without copying their contents. For this purpose two new macros RETVAL_ZVAL_FAST and RETURN_ZVAL_FAST are added: RETVAL_ZVAL_FAST(zv); /* Analog to RETVAL_ZVAL(zv, 1, 0) */ RETURN_ZVAL_FAST(zv); /* Analog to RETURN_ZVAL(zv, 1, 0) */ These macros behave similarly to the non-FAST versions with copy=1 and dtor=0, with the difference that the FAST versions will try return the zval without copying by utilizing return_value_ptr.
* Evaluate ZVAL_ZVAL arguments only onceNikita Popov2013-08-261-10/+8
| | | | | Also remove some isref/refcount assignments, which are no longer necessary (as ZVAL_COPY_VALUE is used now).
* Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-06-101-2/+2
|\ | | | | | | | | | | * PHP-5.4: typo fixes (argument) typo fixes (accommodate, parameter)
| * typo fixes (argument)Veres Lajos2013-06-101-2/+2
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Sara Golemon2013-05-191-1/+1
|\ \ | |/ | | | | | | * PHP-5.4: Don't double-quote name of namespaced function.
| * Merge branch 'PHP-5.3' into PHP-5.4Sara Golemon2013-05-191-1/+1
| |\ | | | | | | | | | | | | * PHP-5.3: Don't double-quote name of namespaced function.
| | * Don't double-quote name of namespaced function.Sara Golemon2013-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ZEND_NS_NAMED_FE(ns, zend_name, name, arg_info) was resulting in a function declaration of: ns\"zend_name"() including the errant quotes. This diff corrects that. There are currently no uses of ZEND_NS_NAMED_FE in core and reason to believe that there are no uses in the wild either.
* | | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-03-211-0/+3
|\ \ \ | |/ /
| * | Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11)Xinchen Hui2013-03-211-0/+3
| | |
| * | Fix build problem in C++11Jelle Zijlstra2013-01-301-1/+1
| | |
* | | Add support for non-scalar Iterator keys in foreachNikita Popov2013-03-121-0/+2
| | | | | | | | | | | | RFC: https://wiki.php.net/rfc/foreach-non-scalar-keys
* | | Fix build problem in C++11Jelle Zijlstra2013-01-301-1/+1
| | |
* | | Merge branch 'PHP-5.4' into PHP-5.5Johannes Schlüter2013-01-291-2/+2
|\ \ \ | |/ /
| * | Merge branch 'PHP-5.3' into PHP-5.4Johannes Schlüter2013-01-291-2/+2
| |\ \ | | |/
| | * Fix bug #64099 (Wrong TSRM usage in zend_register_class_alias)Johannes Schlüter2013-01-291-2/+2
| | |
| | * Happy New YearXinchen Hui2013-01-011-1/+1
| | |