004.phpt

来自「php-4.4.7学习linux时下载的源代码」· PHPT 代码 · 共 17 行

PHPT
17
字号
--TEST--simple ereg test--POST----GET----FILE--<?php $a="This is a nice and simple string";  if (ereg(".*nice and simple.*",$a)) {    echo "ok\n";  }  if (!ereg(".*doesn't exist.*",$a)) {    echo "ok\n";  }?>--EXPECT--okok

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?