php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容

源代码在线查看: function.runkit-class-emancipate.html

软件大小: 3633 K
上传用户: fengkuangyidao
关键词: php PHP 文档 实际应用
下载地址: 免注册下载 普通下载 VIP

相关代码

												 				  Convert an inherited class to a base class, removes any method whose scope is ancestral				  				 				 				 runkit_class_adopt				 runkit_constant_add				 runkit Functions				 PHP Manual								 				  runkit_class_emancipate				  (PECL runkit:0.7-0.9)runkit_class_emancipate — 				   Convert an inherited class to a base class, removes any method whose scope is ancestral				  								 				 				  Description				  				   bool runkit_class_emancipate				    ( string $classname				   )												 								 				  Parameters				  				   								    								     classname												     								      				       Name of class to emancipate				      				     								    								   								  				 												 				  Return Values				  				   Returns TRUE on success or FALSE on failure.				  				 												 				  Examples				  				   				    Example #1 A runkit_class_emancipate() example				    								<?phpclass myParent {  function parentFunc () {    echo "Parent Function Output\n";  }}class myChild extends myParent {}myChild::parentFunc();runkit_class_emancipate('myChild');myChild::parentFunc();?>												    								    The above example will output:				    								Parent Function Output				Fatal error: Call to undefined function:  parentFunc() in example.php on line 12								    				   				  				 												 				  See Also				  				   				    runkit_class_adopt()				   				  				 																 runkit_class_adopt				 runkit_constant_add				 runkit Functions				 PHP Manual											

相关资源