<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/Zend/tests/use_function, branch master</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/'/>
<entry>
<title>Reindent phpt files</title>
<updated>2020-02-03T21:52:20+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-02-03T21:52:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=f8d795820e780a6322e054c26c581570613c14f0'/>
<id>f8d795820e780a6322e054c26c581570613c14f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename *.php files in Zend/tests to *.inc</title>
<updated>2018-09-23T15:20:42+00:00</updated>
<author>
<name>Peter Kokot</name>
<email>peterkokot@gmail.com</email>
</author>
<published>2018-09-21T18:25:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=f6605c788f0a73cf4f5f4ea32515b9ba7959e4ac'/>
<id>f6605c788f0a73cf4f5f4ea32515b9ba7959e4ac</id>
<content type='text'>
*.php files are ignored by Git and a better practice might be to rename
PHP included files for tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
*.php files are ignored by Git and a better practice might be to rename
PHP included files for tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix "already in use" check inconsistencies/bugs</title>
<updated>2016-10-06T22:12:55+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-10-06T21:09:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=8754b191f77efdbb3d5dd6440e0546589fb65473'/>
<id>8754b191f77efdbb3d5dd6440e0546589fb65473</id>
<content type='text'>
This fixes the following issues:
 * "use function" and "use const" inside namespaced code were checking
   for conflicts against class imports. Now they always check against
   the correct symbol type.
 * Symbol conflicts are now always checked within a single file only.
   Previously class uses inside namespaced code were checked globally.
   This behavior is illegal because symbols from other files are not
   visible if opcache is used, resulting in behavioral discrepancies.
   Additionally this made the presence/absence of symbol errors dependent
   on autoloading order, which is volatile.
 * The "single file" restriction is now enforced by collecting defined
   symbols inside a separate hash table. Previously it was enforced
   (for the non-namespaced case) by comparing the filename of the
   symbol declaration. However this is inaccurate if the same filename
   is used multiple times, such as may happen if eval() is used.
 * Additionally the previous approach relies on symbols being registered
   at compile-time, which is not the case for late-bound classes, which
   makes the behavior dependent on class declaration order, as well as
   opcache (which may cause delayed early-binding).
 * Lastly, conflicts are now consistently checked for conditionally
   defined symbols. Previously only declaration-after-use conflicts were
   checked in this case. Now use-after-declaration conflicts are
   detected as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the following issues:
 * "use function" and "use const" inside namespaced code were checking
   for conflicts against class imports. Now they always check against
   the correct symbol type.
 * Symbol conflicts are now always checked within a single file only.
   Previously class uses inside namespaced code were checked globally.
   This behavior is illegal because symbols from other files are not
   visible if opcache is used, resulting in behavioral discrepancies.
   Additionally this made the presence/absence of symbol errors dependent
   on autoloading order, which is volatile.
 * The "single file" restriction is now enforced by collecting defined
   symbols inside a separate hash table. Previously it was enforced
   (for the non-namespaced case) by comparing the filename of the
   symbol declaration. However this is inaccurate if the same filename
   is used multiple times, such as may happen if eval() is used.
 * Additionally the previous approach relies on symbols being registered
   at compile-time, which is not the case for late-bound classes, which
   makes the behavior dependent on class declaration order, as well as
   opcache (which may cause delayed early-binding).
 * Lastly, conflicts are now consistently checked for conditionally
   defined symbols. Previously only declaration-after-use conflicts were
   checked in this case. Now use-after-declaration conflicts are
   detected as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update exception names in tests after formatting changes.</title>
<updated>2015-05-17T22:31:43+00:00</updated>
<author>
<name>Aaron Piotrowski</name>
<email>aaron@trowski.com</email>
</author>
<published>2015-05-17T22:31:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=e97d5fab35af5c73b0d9614bb2d079c67bf4d508'/>
<id>e97d5fab35af5c73b0d9614bb2d079c67bf4d508</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tweak uncaught exception message display</title>
<updated>2015-05-17T16:47:06+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2015-05-17T16:35:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=3ae995f03c8f60c4a4c9718262545cf5a6a08da3'/>
<id>3ae995f03c8f60c4a4c9718262545cf5a6a08da3</id>
<content type='text'>
This implements a reduced variant of #1226 with just the following
change:

-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d

The '' wrapper around messages is very weird if the exception
message itself contains ''. Futhermore having the message wrapped
in '' doesn't work for the "and defined" suffix of
TypeExceptions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements a reduced variant of #1226 with just the following
change:

-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d

The '' wrapper around messages is very weird if the exception
message itself contains ''. Futhermore having the message wrapped
in '' doesn't work for the "and defined" suffix of
TypeExceptions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Display EngineExceptions like ordinary exceptions</title>
<updated>2015-05-15T21:40:32+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2015-05-15T19:04:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=c9f27ee4227268bc74fc54e0e06102317e614804'/>
<id>c9f27ee4227268bc74fc54e0e06102317e614804</id>
<content type='text'>
TypeException stays as-is for now because it uses messages that are
incompatible with the way exception messages are displayed.

closure_038.phpt and a few others now show that we're generating
too many exceptions for compound operations on undefined properties
-- this needs to be fixed in a followup.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TypeException stays as-is for now because it uses messages that are
incompatible with the way exception messages are displayed.

closure_038.phpt and a few others now show that we're generating
too many exceptions for compound operations on undefined properties
-- this needs to be fixed in a followup.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clarify type of use in error messages</title>
<updated>2013-10-14T21:32:11+00:00</updated>
<author>
<name>Igor Wiedler</name>
<email>igor@wiedler.ch</email>
</author>
<published>2013-10-14T21:32:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=602fef0e52caacf754eacfb96e9342ce32d29a37'/>
<id>602fef0e52caacf754eacfb96e9342ce32d29a37</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add "Done" output to distinguish hard from soft failures</title>
<updated>2013-10-14T21:21:06+00:00</updated>
<author>
<name>Igor Wiedler</name>
<email>igor@wiedler.ch</email>
</author>
<published>2013-10-14T21:21:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=e23ad4eeb2249c18f11eee751611395cb845c010'/>
<id>e23ad4eeb2249c18f11eee751611395cb845c010</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix issue with global fallback when not in global space</title>
<updated>2013-08-30T15:53:57+00:00</updated>
<author>
<name>Anthony Ferrara</name>
<email>ircmaxell@gmail.com</email>
</author>
<published>2013-08-30T15:53:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=d7e3aca9c96e93acfee2deeeb7b481cadd28438d'/>
<id>d7e3aca9c96e93acfee2deeeb7b481cadd28438d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for conditional function declaration</title>
<updated>2013-08-29T15:16:18+00:00</updated>
<author>
<name>Igor Wiedler</name>
<email>igor@wiedler.ch</email>
</author>
<published>2013-08-29T15:15:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=e14a769c56f45be26f32506483a7dff5b447fbb7'/>
<id>e14a769c56f45be26f32506483a7dff5b447fbb7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
