downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

SplString> <SplBool
[edit] Last updated: Fri, 24 Jun 2011

view this page in

SplBool::__construct

(PECL spl_types >= 0.1.0)

SplBool::__constructساخت شی نوع bool

Description

SplBool::__construct() ( void )

ساخت شی نوع bool.

Parameters

input

پارامتر input نوع bool را می‌پذیرد.

strict

متغیر boolean تعیین‌کننده محدودیت متغیر است.

Return Values

No value is returned.

Examples

Example #1 مثال SplBool::__construct()

<?php
$one 
= new SplBool(true);
$two = new SplBool(1);

var_dump($one);
var_dump($two);
?>

The above example will output:

object(SplBool)#1 (1) {
  ["__default"]=>
  bool(true)
}
object(SplBool)#1 (1) {
  ["__default"]=>
  bool(true)
}



add a note add a note User Contributed Notes SplBool::__construct - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites