mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed #47508 (simplify wording on documentation page)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276573 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
39d77121d2
commit
664f7e6f0f
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.11 $ -->
|
||||
<!-- $Revision: 1.12 $ -->
|
||||
<refentry xml:id="function.defined" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>defined</refname>
|
||||
|
@ -58,9 +58,9 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
/* Note the use of quotes, this is important. This example is checking
|
||||
* if the string 'CONSTANT' is the name of a constant named CONSTANT */
|
||||
if (defined('CONSTANT')) {
|
||||
echo CONSTANT;
|
||||
* if the string 'TEST' is the name of a constant named TEST */
|
||||
if (defined('TEST')) {
|
||||
echo TEST;
|
||||
}
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue