• 内容へ移動

fl8 Wiki

ユーザ用ツール

  • ログイン

サイト用ツール

  • 最近の変更
  • メディアマネージャー
  • サイトマップ
現在位置: Dokuwiki.fl8.jp » code
トレース: • 29 Ceph Dashboard • 46 Laravel log • 31 ZFS IOPS limit

code

検索

以下に検索結果を表示します。

完全一致
  • 完全一致
  • 前方一致
  • 後方一致
  • 部分一致
@11_php:03_function
  • 全ての名前空間
全期間
  • 全期間
  • 1週間以内
  • 1カ月以内
  • 1年以内
ヒット数順に並べる
  • ヒット数順に並べる
  • 最終更新順に並べる

マッチした文書名:

  • 01 URLエンコード(urlencode, rawurlencode)

全文検索:

09 curl
8 ヒット, 最終更新: 5年前
====== 09 curl ====== <code php> $conn = curl_init(); curl_setopt($conn, CURLOPT_URL, $url); curl_setop... sult = json_decode($ret, true); return $result; </code> === Basic認証の場合 === <code php> curl_setopt($conn, CURLOPT_USERPWD, "User:Password"); </code> === cookieを利用する場合 === <code> $cookie=tempnam(s
05 substr()
6 ヒット, 最終更新: 4年前
05 substr() ====== 文字列の一部を取り出す ===== 書式 ===== <code> string substr(string s, int si) string substr(string s, int si, int sz) </code> 文字列 s のインデックス si から sz バイト分の文字列を取り出します。 途中から最後ま... を取り出す場合は、sz を省略できます。 ==== 例1 ==== 結果はABCとなります。 <code> <?PHP $str="ABCDEFG"; print substr($str,0,3); ?> </code> ==== 例2 ==== siにマイナスをの値を指定すると、後ろから指定した数までを求めます
03 strlen()
4 ヒット, 最終更新: 4年前
== 書式 ===== strlen("文字列、変数"); ===== 例1 ===== <code> <?PHP $str=strlen("asdqwe"); print($str); ?> </code> ===== 例2 ===== 日本語は2バイト文字なので、この場合12となる。 <code> <?PHP $str="こんにちは。"; print(strlen($str)); ?> </code> {{tag>php}}
06 echo()
4 ヒット, 最終更新: 11年前
列の出力、&color(Blue){括弧()は省略できる。}; ===== 書式 ===== <code> echo(文字列、または変数); </code> ===== 例 ===== <code> <?PHP $str="こんにちは。"; echo $str; ?> </code> {{tag>php:文字列}}
02 print()
2 ヒット, 最終更新: 11年前
== 書式 ===== print "文字列、または変数"; ===== 例 ===== <code php> <?PHP $str="こんにちわ。"; print $str; ?> </code> {{tag>php:文字列}}
04 chop()
2 ヒット, 最終更新: 11年前
= 例 ===== 空白の削除 <color red>※全角空白は削除できない</color> <code> <?PHP $str="abc "; print chop($str); ?> </code> {{tag>php:文字列}}
07 rtrim()
2 ヒット, 最終更新: 11年前
= 例 ===== 空白の削除 <color red>※全角空白は削除できない</color> <code php> <?PHP $str="abc "; print rtrim($str); ?> </code>
08 trim()
2 ヒット, 最終更新: 9年前
"\x0B" (ASCII 11 (0x0B)), 垂直タブ ===== 例 ===== <code php> <?PHP $str=" こんにちは "; echo trim($str); ?> </code> {{tag>php:function}}
10 portチェック関数
2 ヒット, 最終更新: 10年前
====== 10 portチェック関数 ====== <code> <?php function checkPort($host, $port, $timeout = 30){ $sock = @fso... meout); if(!$sock){ return false; } fclose($sock); return true; } ?> </code> {{tag>php:function}}

ページ用ツール

  • 文書の表示
  • 以前のリビジョン
  • バックリンク
  • 文書の先頭へ
特に明示されていない限り、本Wikiの内容は次のライセンスに従います: CC Attribution-Noncommercial-Share Alike 4.0 International
CC Attribution-Noncommercial-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki