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

search for in the

bcompiler_write_exe_footer> <bcompiler_write_class
[edit] Last updated: Fri, 23 Mar 2012

view this page in

bcompiler_write_constant

(PECL bcompiler >= 0.5)

bcompiler_write_constantTanımlanmış sabiti dosyaya yazar

Açıklama

bool bcompiler_write_constant ( resource $dosyatanitici , string $sabitadi )

PHP kodunda tanımlanmış sabiti okur ve açık bir dosya tanıtıcısına yazar.

Değiştirgeler

dosyatanitici

fopen() işlevinden elde edilmiş bir tanıtıcı.

sabitadi

Dizge olarak, tanımlanmış sabitin adı.

Dönen Değerler

Başarı durumunda TRUE, başarısızlık durumunda FALSE döner.

Örnekler

Örnek 1 - bcompiler_write_constant() örneği

<?php
define
("MODULE_MAX"30);

$fh fopen("/tmp/example","w");
bcompiler_write_header($fh);
bcompiler_write_constant($fh,"MODULE_MAX");
bcompiler_write_footer($fh);
fclose($fh);

?>

Notlar

Uyarı

Bu işlev DENEYSELDİR. Bu işlevin davranışı, ismi ve belgeleri PHP'nin sonraki sürümlerinde hiçbir duyuru yapılmaksızın değiştirilebilir. Bu riski göze alamayacaksanız bu işlevi kullanmayın.

Ayrıca Bakınız



add a note add a note User Contributed Notes bcompiler_write_constant
There are no user contributed notes for this page.

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