07 2020 档案

摘要:学习了《深入PHP 面向对象、模式与实践》,根据自己理解也写了一个类似的反射类使用,以便加深理解 namespace ref\myExample; abstract class Capacity{ public function show($skill) { echo static::class . 阅读全文
posted @ 2020-07-19 11:24 i金少 阅读(165) 评论(0) 推荐(0) 编辑
摘要:例程:namespace test; class abc{ public static $a =1; private function ab() { echo 'ab'; } public function cd() { echo 'cd'; }} class hi extends abc{} 1、 阅读全文
posted @ 2020-07-10 07:49 i金少 阅读(181) 评论(0) 推荐(0) 编辑
摘要:function_exists() 判断非类的函数是否存在method_exists() 判断类中是否存在某个方法is_callable() 判断一个函数或方案是否可以被调用 function aa(){} function_exists('aa');//true class abc{ public 阅读全文
posted @ 2020-07-08 00:16 i金少 阅读(203) 评论(0) 推荐(0) 编辑
摘要:1、安装xampp 2、修改 xampp5\apache\conf 下的 httpd.conf DocumentRoot "F:/"<Directory "F:/"> 3、修改xampp\apache\conf\extra 的 httpd-vhosts.conf 增加 <VirtualHost *: 阅读全文
posted @ 2020-07-07 20:00 i金少 阅读(137) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示