2010-07-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¯ã©ã¹ã¡ã³ãã¯ã¤ã³ã¹ã¿ã³ã¹çæã㦠dump ããã°è¦ãããã©ãã¯ã©ã¹ã¡ã½ããè¦ãæ¹æ³ããã£ãã®ã§ãã¡ã¢ã $methods = get_class_methods("ClassName");ã§ããããããã $obj = new OBJ; var_dump(get_class_methods(get_class($obj)));ã¡ã¢ã
ãããã£ã¬ã¯ããªã®ãã¡ã¤ã«ä¸è¦§åå¾ãã¦ãFile ã Directory ãã調ã¹ãç°¡åãªscript check_dir.php 㯠"/home/ryoff/prac_php/" ã«ããã¨ããã -- prac_php |-- check_dir.php |-- fuga.php `-- hoge `-- foo.phpvi check_dir.php
$str = "a-b-c-d"; ãããªã®ã/-/ã§splitããããªã£ã¦ãsplité¢æ°ã¤ãã£ããwarningsã§ãã PHP Deprecated: Function split() is deprecated in ãåãã£ãããä½ãã¨ã©ã¼ã§ããphp proè¡ãã°ãããã ãã ã£ã¦ãã¨ã§ãè¦ã¦ã¿ã㨠è¦å ãã®é¢æ°ã¯ PHP 5.3.â¦
æ¡å¼µã»ããã¢ãã - PHPããï¼ããã¥ã¢ã« ãã¡ããåèã«è²ã ãã£ã¦ã¿ãã åèã½ã¼ã¹vi smarty_test/setup.php Smarty(); $this->template_dir = '(ãã¡ã¤ã«ã®çµ¶å¯¾ãã¹)/smarty_test/templates/'; $this->compile_dir = '(ãã¡ã¤ã«ã®çµ¶å¯¾ãã¹)/smarty_test/â¦
å®å®çã®ææ°ãã¡ã¤ã«æ¢ãã¦ãã Smarty - Downloads ããããè½ã¨ãã¦ãã¾ãããã ä»åã¯ã http://www.smarty.net/do_download.php?download_file=Smarty-2.6.26.tar.gzãã使ã£ãã stableã ã£ãã®ã§ã install åèã«ããã®ã¯ããã PHP Evo Smartyã®ã¤â¦
ãªãããã¾ã«ããã ãã§æ¯å復帰æ¹æ³ããããã®ã§ãèªåã¨ãã«æ¸ãã ctrl + s ctrl + s ãæ¼ãã¨ãã¹ã¯ãã¼ã«åæ¢ã«ãªããã±ã£ã¨ã¿ããªã¼ãºããã£ã½ããªãã¾ãã è¬ã®ããªã¼ãº(´ã»Ïã»ï½) 復帰ã«ã¯ã ctrl + q ã§ãã
å°ã£ããã¨ãèµ·ããã ããæ¥çªç¶ããã¼ãã¼ããusã¨ãã¦èªèããã¦ãã¾ã£ãã å ·ä½çãªçç¶ã¨ãã¦ã¯ä»¥ä¸ã®ãããªãã® ããã«ã¯ã©ã¼ããæã¨ãã¨ãã¦ãShift+2 = @ viéãããã¨ãã¦ã:ãæã¨ãã¨ããããè¦ã¤ãããã»ã» ãã¼ãã¼ãè¨å®ã ããã¨æãããã¼ãâ¦
HTTPéä¿¡ç¨Proxyã®è¨å® ç¾å¨ã®è¨å®ã®ç¢ºèª pear config-show è¨å® pear config-set http_proxy [proxyã¢ãã¬ã¹:ãã¼ã] pear config-set http_proxy http://example.com:8080/ ããã°ã