Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

php·½·¨µ÷ÓÃ

init.php
<?php
  function test1() {}
?>

test.php
<?php
  class test{
  $t;
  function __construct(){
  $this->t=test1;  
  }
  }
?>

$this->t=test1; Ϊʲô¿ÉÒÔÖ´ÐУ¬ÎªÊ²Ã´¿ÉÒÔÈ¡µ½init.phpÖеÄtest1·½·¨£¿£¿£¿

Çë´ó¼Ò°ïæ½âÊÍÏ£¡
ÔÚtest.phpÀïÃæÓÃÒýÓÃÁËinit.php°É

ÔÚtest.phpÀï¼ÓÔØÁË init.php ¾Í¿ÉÒÔÕâÑùÓÃÁË

test1·½·¨ºóÒª¼Ó ()

test.php Öаüº¬ÁË£¨include »òÕßrequire£© init.php 


ÔÚtest.phpÀï¼ÓÔØÁË init.php ¾Í¿ÉÒÔÕâÑùÓÃÁË 
include_once

test1·½·¨ºóÒª¼Ó ()

phpÊÇ´ó±äÁ¿£¬ÕâÑùд²»»á±¨´íÒ»°ã

$this->t=test1; Ϊʲô¿ÉÒÔÖ´ÐУ¬ÎªÊ²Ã´¿ÉÒÔÈ¡µ½init.phpÖеÄtest1·½·¨£¿£¿£¿ 

----------------------------------------------

¸øÊôÐÔ¸³Öµ£¬ ²»ÊÇÖ´ÐÐÒ»¸ö·½·¨¡£ $this->tÊÇÊôÐÔ£¬ ´ÓÄã´úÂë¿´À´ÊÇÕâÑù¡£

ÄãµÄ´úÂëÖ»ÊÇͨ¹ýÁËÔ¤±àÒ루½ö°´Äã¸ø³öµÄ´úÂ룬Á¬Ô¤±àÒ붼²»ÄÜͨ¹ý£©£¬²¢Ã»ÓÐÕæÕýÖ´ÐÐ



¸úinit.phpÎļþûÓйØϵ



queryphp ORMÊý¾Ý¿âÀà
--------------------------------------------------------
½Ì³ÌµØÖ·
http://topic.csdn.net/u/20100228/22/3bea834b-efc0-4aa0-af4a-a4923af8b60c.html
http://topic.csdn.net/u/20100226/12/43bf3dc5-795f-4fa5-861a-2f7bf8fd0cd6.html
ÏÂÔصØÖ·
http://code.google.com/p/queryphp/downloads/list


Ïà¹ØÎÊ´ð£º

ÈçºÎ¶¨ÆÚɾ³ýmysqlÊý¾Ý - PHP / »ù´¡±à³Ì

ÇëÎÊÏÂÄܲ»ÄÜÔÙwindows϶¨ÆÚÇå¿ÕmysqlÒ»¸ö±íÖеÄÈ«²¿Êý¾Ý£¬ÓÃPHPʵÏÖ£¡
лл¸÷λÁË
¾Í±ÈÈçÒ»¸öÐÇÆÚÇå¿ÕÒ»´Î
±ÈÈçÿ¸öÐÇÆÚÁùÁãµãÇå¿ÕÒ»´Î£¡
ллÁË

¼Æ»®ÈÎÎñ...php....sql...truncate....OK

Äã¾ÍÕâ½ÓÔÚҳà ......

Î人ÄÄÀïPHPÅàѵ±È½ÏÕý¹æ - PHP / »ù´¡±à³Ì

¹ýÍêÄêҪȥÎ人ÁË£¬ÏëÁ˽âÒ»ÏÂPHPÅàѵ±È½ÏÕý¹æ?

Ŷ ¶ÔÁË£¬»¹ÓУ¡PHPÊÖ²á±ØÐëµÃŪһ¸ö

àÅ ÌìÌìÔÚ¿´Ê¥¾­£¨Ò»ÌìÒ²¾ÍÖ»ÄÜ¿´¸ö¶þʮҳ£©£¬PHP100ÊÓƵ½Ì³Ì¿´ÁË33½²ÁË£¨Ò»ÌìÒ²Ö»¿´Ò»½²£©
ÎÒ»á¼á³Ö°ÑÕâ±¾ÊéºÍÊÓƵ¸ã¶¨ ......

PHP»ñÈ¡IP

µÃµ½¿Í»§¶ËIPÀÏÎÊÌâÁË£¬µ«Õâ´Î»·¾³Óе㲻һÑù£¨ ¿Í»§ÊÇÕâÑùµÄ»·¾³Ã»°ì·¨£¬ËµBTµÄÇëÆ®¹ý :) £©¡£
win2k3¸Ãϵͳ£¨Ï³ÆϵͳA£©ÉÏ×°ÁËVMware Server£¬VMÏÂÓиöwin2k3ϵͳ(ϳÆϵͳB)¡£
ϵͳA£ºÖ±½ÓÁ¬½Ó¹«Íø¡£Óй«ÍøI ......

ÇëÎÊphp²ÉÓÃʲô¼ÓÃÜ·½Ê½²»±»Æƽ⣿ - PHP / »ù´¡±à³Ì

zend guard¼ÓÃܵÄphpÊÇ¿ÉÒÔÆƽâµÄ£¬ÓÐµÄ ËµÊÇʹÓú¯Êý»ìÏý¿ÉÒÔ¸üÄÑÆƽâһЩ¡£ÔõôʹÓÃÄØ¡£
»òÕß´ó¼Ò¸æËßÎÒÄÄÖÖ¼ÓÃÜ·½Ê½¸ü°²È«¡£Ð»Ð»ÁË¡£
ÎÒÄ¿Ç°µÄzend guard°æ±¾ÊÇ4.0.1
ÎÞ½â

ÒýÓÃ
ÎÞ½â
²»¿ÉÄÜ°É¡£ÔÚÍøÉϲéÁ ......

¹ØÓÚphp ÁÐ±í¼°ÄÚÈݵIJɼ¯ - PHP / »ù´¡±à³Ì

ÀýÈç:ÎÒÒª²ÉÕâÀïÃæµÄ×ÊѶÁÐ±í£¬http://news.etannet.com/stock/newlist.php?id=4£¨ÄÚÈÝÒ³ÃæµÄÍøÖ·¼°ÄÚÈݱêÌ⣩ÕýÔò¹æÔòÔõôд£¬ÎÒдµÄÈ¡²»µ½Êý¾Ý£¬Çë¸ßÊÖ°ïæ
$source=file_get_contents('http://news.etannet.com/ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ