locales.phpt
来自「PHP v6.0 For Linux 运行环境:Win9X/ WinME/ Wi」· PHPT 代码 · 共 15 行
PHPT
15 行
--TEST--Localized match--SKIPIF--<?php if (!function_exists('setlocale')) die('skip: setlocale() not available'); ?><?php if (!@setlocale(LC_ALL, 'pt_PT', 'pt', 'pt_PT.ISO8859-1', 'portuguese')) die('skip pt locale not available');--FILE--<?phpdeclare(encoding='latin1');// this tests if the cache is working correctly, as the char tables// must be rebuilt after the locale changesetlocale(LC_ALL, 'C', 'POSIX');var_dump(preg_match('/^\w{6}$/', 'a噌玳
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?