<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=PHP%2Fdeclare</id>
	<title>PHP/declare - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=PHP%2Fdeclare"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=PHP/declare&amp;action=history"/>
	<updated>2026-07-26T03:39:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=PHP/declare&amp;diff=28832&amp;oldid=prev</id>
		<title>Woozle: Created page with &quot;{{fmt/title|PHP: declare()}} The [documentation for the &lt;tt&gt;declare()&lt;/tt&gt; keyword is somewhat scattered. The [https://www.php.net/manual/en/control-structures.declare.php mai...&quot;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=PHP/declare&amp;diff=28832&amp;oldid=prev"/>
		<updated>2023-07-16T13:27:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{fmt/title|PHP: declare()}} The [documentation for the &amp;lt;tt&amp;gt;declare()&amp;lt;/tt&amp;gt; keyword is somewhat scattered. The [https://www.php.net/manual/en/control-structures.declare.php mai...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{fmt/title|PHP: declare()}}&lt;br /&gt;
The [documentation for the &amp;lt;tt&amp;gt;declare()&amp;lt;/tt&amp;gt; keyword is somewhat scattered. The [https://www.php.net/manual/en/control-structures.declare.php main documentation page] mentions only &amp;quot;ticks&amp;quot; and &amp;quot;encoding&amp;quot; as directives, but there&amp;#039;s at least one other.&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! directive || description&lt;br /&gt;
|-&lt;br /&gt;
| [https://www.php.net/manual/en/control-structures.declare.php#control-structures.declare.encoding encoding] || type of character encoding to use&lt;br /&gt;
|-&lt;br /&gt;
| [https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict strict_types] || If set to 1, only a value corresponding exactly to the type declaration will be accepted, otherwise a TypeError will be thrown. The only exception to this rule is that an int value will pass a float type declaration.&lt;br /&gt;
|-&lt;br /&gt;
| [https://www.php.net/manual/en/control-structures.declare.php#control-structures.declare.ticks ticks] || If set to 1, functions registered with [register_tick_function() https://www.php.net/manual/en/function.register-tick-function.php] will be called in the middle of other code operations.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>