App下載

詞條

大約有 8,000 項(xiàng)符合查詢結(jié)果 ,庫內(nèi)數(shù)據(jù)總量為 78,250 項(xiàng)。(搜索耗時(shí):0.0284秒)

5521.PHP8 error_get_last — 獲取最后發(fā)生的錯(cuò)誤

...錯(cuò)誤則返回 null。示例示例 #1 An error_get_last() 范例<?php echo $a; print_r(error_get_last()); ?>以上示例的輸出類似于:Array ( [type] => 8 [message] => Undefined variable: a [file] => C:\WWW\index.php [line] => 2 ) 參見Error 常量$php_errormsg 變量error_...

http://www.o2fo.com/phpchinese/php8-error-get-last.html

5522.PHP8 FFI::free — 發(fā)布非托管數(shù)據(jù)結(jié)構(gòu)

(PHP 7 >= 7.4.0, PHP 8)FFI::free — 發(fā)布非托管數(shù)據(jù)結(jié)構(gòu)說明public static FFI::free(FFI\CData &$ptr): void手動(dòng)釋放先前創(chuàng)建的非托管數(shù)據(jù)結(jié)構(gòu)。參數(shù)ptr指向 C 數(shù)據(jù)結(jié)構(gòu)的非托管指針的句柄。返回值沒有返回值。

http://www.o2fo.com/phpchinese/php8-ffi-free.html

5523.PHP8 FFI::isNull — 檢查 FFI\CData 是否為空指針

(PHP 7 >= 7.4.0, PHP 8)FFI::isNull — 檢查 FFI\CData 是否為空指針說明public static FFI::isNull ( FFI\CData &$ptr ): bool檢查 FFI\CData 是否為空指針。參數(shù)ptr指向 C 數(shù)據(jù)結(jié)構(gòu)的指針的句柄。返回值返回 FFI\CData 是否為空指針。

http://www.o2fo.com/phpchinese/php8-ffi-isnull---check-if-ffi----cdata-is-a-null-pointer.html

5524.TypeScript 成員數(shù)量的推斷

如果沒有可選成員和擴(kuò)展運(yùn)算符,TypeScript 會(huì)推斷出元組的成員數(shù)量(即元組長度)。function f(point: [number, number]) { if (point.length === 3) { // 報(bào)錯(cuò) // ... } } 上面示例會(huì)報(bào)錯(cuò),原因是 TypeScript 發(fā)現(xiàn)元組point的長度是2,不可能等于3,這...

http://www.o2fo.com/tsryf/inference-of-the-number-of-typescript-members.html

5525.PHP8 FFI::string — 從內(nèi)存區(qū)域創(chuàng)建 PHP 字符串

...4.0, PHP 8) FFI::string — 從內(nèi)存區(qū)域創(chuàng)建 PHP 字符串 說明public static FFI::string(FFI\CData &$ptr, ?int $size = null): string 從 ptr 指向的內(nèi)存區(qū)域的 size 字節(jié)創(chuàng)建 PHP 字符串。 參數(shù) ptr 要從中創(chuàng)建字符串的內(nèi)存區(qū)域的開頭。 size 要復(fù)制到字符串的...

http://www.o2fo.com/phpchinese/php8-ffi-string.html

5526.PHP8 FFI::typeof — 獲取 FFI\CData 的 FFI\CType

(PHP 7 >= 7.4.0, PHP 8)FFI::typeof — 獲取 FFI\CData 的 FFI\CType說明public static FFI::typeof(FFI\CData &$ptr): FFI\CType獲取表示給定 FFI\CData 對(duì)象類型的 FFI\CType 對(duì)象。參數(shù)ptr指向 C 數(shù)據(jù)結(jié)構(gòu)的指針的句柄。返回值返回表示給定 FFI\CData 對(duì)象類型的 ...

http://www.o2fo.com/phpchinese/php8-ffi-typeof.html

5527.TypeScript interface 繼承 class

interface 還可以繼承 class,即繼承該類的所有成員。關(guān)于 class 的詳細(xì)解釋,參見下一章。class A { x:string = ''; y():boolean { return true; } } interface B extends A { z: number } 上面示例中,B繼承了A,因此B就具有屬性x、y()和z。實(shí)現(xiàn)B接口的對(duì)象...

http://www.o2fo.com/tsryf/interface-inherits-class.html

5528.PHP8 安裝

OPcache 只能編譯為共享擴(kuò)展。 如果你使用 --disable-all 參數(shù) 禁用了默認(rèn)擴(kuò)展的構(gòu)建, 那么必須使用 --enable-opcache 選項(xiàng)來開啟 OPcache。編譯之后,就可以使用 zend_extension 指令來將 OPcache 擴(kuò)展加載到 PHP 中。在非 Windows 平臺(tái)使用 zend_ex...

http://www.o2fo.com/phpchinese/installation--php8.html

5529.PHP8 sys_get_temp_dir — 返回用于臨時(shí)文件的目錄

...錄里創(chuàng)建臨時(shí)文件 $temp_file = tempnam(sys_get_temp_dir(), 'Tux'); echo $temp_file; ?>以上示例的輸出類似于:C:\Windows\Temp\TuxA318.tmp 參見tmpfile() - 建立一個(gè)臨時(shí)文件tempnam() - 建立一個(gè)具有唯一文件名的文件

http://www.o2fo.com/phpchinese/php8-sys-get-temp-dir.html

5530.TypeScript Awaited<Type>

...是 Promise 類型,那么就會(huì)原樣返回。// number | boolean type C = Awaited<boolean | Promise<number>>; 上面示例中,類型參數(shù)是一個(gè)聯(lián)合類型,其中的boolean會(huì)原樣返回,所以最終返回的是number|boolean。Awaited<Type>的實(shí)現(xiàn)如下。type Awai...

http://www.o2fo.com/tsryf/typescript-awaitedlt-typegt.html

抱歉,暫時(shí)沒有相關(guān)的微課

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒有相關(guān)的視頻課程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時(shí)沒有相關(guān)的教程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

5521.PHP8 error_get_last — 獲取最后發(fā)生的錯(cuò)誤

...錯(cuò)誤則返回 null。示例示例 #1 An error_get_last() 范例<?php echo $a; print_r(error_get_last()); ?>以上示例的輸出類似于:Array ( [type] => 8 [message] => Undefined variable: a [file] => C:\WWW\index.php [line] => 2 ) 參見Error 常量$php_errormsg 變量error_...

http://www.o2fo.com/phpchinese/php8-error-get-last.html

5522.PHP8 FFI::free — 發(fā)布非托管數(shù)據(jù)結(jié)構(gòu)

(PHP 7 >= 7.4.0, PHP 8)FFI::free — 發(fā)布非托管數(shù)據(jù)結(jié)構(gòu)說明public static FFI::free(FFI\CData &$ptr): void手動(dòng)釋放先前創(chuàng)建的非托管數(shù)據(jù)結(jié)構(gòu)。參數(shù)ptr指向 C 數(shù)據(jù)結(jié)構(gòu)的非托管指針的句柄。返回值沒有返回值。

http://www.o2fo.com/phpchinese/php8-ffi-free.html

5523.PHP8 FFI::isNull — 檢查 FFI\CData 是否為空指針

(PHP 7 >= 7.4.0, PHP 8)FFI::isNull — 檢查 FFI\CData 是否為空指針說明public static FFI::isNull ( FFI\CData &$ptr ): bool檢查 FFI\CData 是否為空指針。參數(shù)ptr指向 C 數(shù)據(jù)結(jié)構(gòu)的指針的句柄。返回值返回 FFI\CData 是否為空指針。

http://www.o2fo.com/phpchinese/php8-ffi-isnull---check-if-ffi----cdata-is-a-null-pointer.html

5524.TypeScript 成員數(shù)量的推斷

如果沒有可選成員和擴(kuò)展運(yùn)算符,TypeScript 會(huì)推斷出元組的成員數(shù)量(即元組長度)。function f(point: [number, number]) { if (point.length === 3) { // 報(bào)錯(cuò) // ... } } 上面示例會(huì)報(bào)錯(cuò),原因是 TypeScript 發(fā)現(xiàn)元組point的長度是2,不可能等于3,這...

http://www.o2fo.com/tsryf/inference-of-the-number-of-typescript-members.html

5525.PHP8 FFI::string — 從內(nèi)存區(qū)域創(chuàng)建 PHP 字符串

...4.0, PHP 8) FFI::string — 從內(nèi)存區(qū)域創(chuàng)建 PHP 字符串 說明public static FFI::string(FFI\CData &$ptr, ?int $size = null): string 從 ptr 指向的內(nèi)存區(qū)域的 size 字節(jié)創(chuàng)建 PHP 字符串。 參數(shù) ptr 要從中創(chuàng)建字符串的內(nèi)存區(qū)域的開頭。 size 要復(fù)制到字符串的...

http://www.o2fo.com/phpchinese/php8-ffi-string.html

5526.PHP8 FFI::typeof — 獲取 FFI\CData 的 FFI\CType

(PHP 7 >= 7.4.0, PHP 8)FFI::typeof — 獲取 FFI\CData 的 FFI\CType說明public static FFI::typeof(FFI\CData &$ptr): FFI\CType獲取表示給定 FFI\CData 對(duì)象類型的 FFI\CType 對(duì)象。參數(shù)ptr指向 C 數(shù)據(jù)結(jié)構(gòu)的指針的句柄。返回值返回表示給定 FFI\CData 對(duì)象類型的 ...

http://www.o2fo.com/phpchinese/php8-ffi-typeof.html

5527.TypeScript interface 繼承 class

interface 還可以繼承 class,即繼承該類的所有成員。關(guān)于 class 的詳細(xì)解釋,參見下一章。class A { x:string = ''; y():boolean { return true; } } interface B extends A { z: number } 上面示例中,B繼承了A,因此B就具有屬性x、y()和z。實(shí)現(xiàn)B接口的對(duì)象...

http://www.o2fo.com/tsryf/interface-inherits-class.html

5528.PHP8 安裝

OPcache 只能編譯為共享擴(kuò)展。 如果你使用 --disable-all 參數(shù) 禁用了默認(rèn)擴(kuò)展的構(gòu)建, 那么必須使用 --enable-opcache 選項(xiàng)來開啟 OPcache。編譯之后,就可以使用 zend_extension 指令來將 OPcache 擴(kuò)展加載到 PHP 中。在非 Windows 平臺(tái)使用 zend_ex...

http://www.o2fo.com/phpchinese/installation--php8.html

5529.PHP8 sys_get_temp_dir — 返回用于臨時(shí)文件的目錄

...錄里創(chuàng)建臨時(shí)文件 $temp_file = tempnam(sys_get_temp_dir(), 'Tux'); echo $temp_file; ?>以上示例的輸出類似于:C:\Windows\Temp\TuxA318.tmp 參見tmpfile() - 建立一個(gè)臨時(shí)文件tempnam() - 建立一個(gè)具有唯一文件名的文件

http://www.o2fo.com/phpchinese/php8-sys-get-temp-dir.html

5530.TypeScript Awaited<Type>

...是 Promise 類型,那么就會(huì)原樣返回。// number | boolean type C = Awaited<boolean | Promise<number>>; 上面示例中,類型參數(shù)是一個(gè)聯(lián)合類型,其中的boolean會(huì)原樣返回,所以最終返回的是number|boolean。Awaited<Type>的實(shí)現(xiàn)如下。type Awai...

http://www.o2fo.com/tsryf/typescript-awaitedlt-typegt.html

抱歉,暫時(shí)沒有相關(guān)的文章

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

熱門課程