沈逸老师PHP魔鬼特训笔记(5)
接上一节课,我们专门新建了一个godconfig类,设置了两个属性prj_name(项目名),prj_author(作者),然后我们获取标准输入(stdin)把结果保存在了类里面。
好吧,这节课的名字比较奇葩-我得了”懒癌”,假如我们忘记写godconfig类的属性,我们的程序还会运行吗?答案是依旧可以,PHP会自动给你的类增加属性(这是老师PPT原话)。
GOON,继续懒下去,现在godconfig类都不想创建了。这里我们用到$gc = new stdClass();
前面这个点很简单,我就不贴代码和运行结果了。
下面,我们有又一个实战需求:我们在函数文件里写一个方法,functionTC() //temp class的意思(这名字都是老师随意的)。代表返回一个临时类。
第一种写法:
<?php require('godconfig.php'); //引入gonconfig这个文件
class godinit //创建一个类,godinit
{
static $v="god version is 1.2"; //声明一个静态属性$VERSION static function init() //静态方法 init
{
//$gc = new godconfig(); //实例化godconfig里定义的类
//$gc = new stdClass();
echo "input your project name?".PHP_EOL;
//$gc -> prj_name = fgets(STDIN); //从标准输入中获取用户输入的字符并赋值给实例化属性$prj_name
$prj_name = fgets(STDIN); //重新获取用户输入,并赋值给$prj_name echo "input your author name?".PHP_EOL;
//$gc -> prj_author=fgets(STDIN);
$prj_author = fgets(STDIN); //重新获取用户输入,并赋值给$prj_author echo json_encode(TC(array('prj_name'=>$prj_name,'prj_author'=>$prj_author)));
}
static function __callStatic($p1,$p2){
echo "error function";
}
}
?>
同时,我们在god_func7这个文件中,写一个TC方法:
<?php
//functions for PHP7
function genConfig($cnt):string
{
return file_put_contents(getcwd().'/god.json',$cnt).' of bytes is written.'.PHP_EOL.'god config is created';
}
function TC($p){
$get_class = new stdClass();
foreach ($p as $k => $v){
$get_class -> $k=$v;
}
return $get_class;
}
然后我们看下结果,还是和原来的写法得到的结果一毛一样:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcUAAACFCAIAAACljHQLAAAgAElEQVR4nO2daVwT1+K//68TQcW9t72/LpOEhCWzsSUsyq6CLIKCICiCIovCiOJFiorIMtat1Urdplpba8VrtWrV1rXXu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ddtM+FThX77B5Vb89eKmxYd1NdisV7WMuUR/6FNIlafXz+90Qr/e0w/m+jqnHSZojJg227CdDmj+gJHQeTnNkwRKnYX4yX0ept5PM78M2f4igQ5G6+36Vy7AUPcNwhU3s7N7PSVN3h/ARC1mKOZrkrrT+XPrzp7YDPm8KgbTap9gHivwb5Nwj2PQfsZkX+UcAXEMt+YEKAXpIw2ahxYZbUzu+sdoKMRlaUE0xbHrMIMNh8jsTUlezk+ZvTZv9fUYlSzEstXi+v0Mrvq6gTyGQNqO1PsWlirSN2OwLBD81WbDWJcLJNn1JrJfEz9txaIQ8fIijP9KV+6fYgHEpq1iK2R75oaPhS/8eO/I/P2RVVlMMS63YN37K7JAPLMoJN0lb+bRlQJ9CuiQwrw8CgUBsA/QpBAKB2AboUwgEArEN0KcQCARiG6BPIRAIxDZAn0IgEIhtgD6FQCAQ2wB9CoFAILYB+hQCgUBsA/QpBAKB2AboUwgEArEN/x++EetJ3McQxwAAAABJRU5ErkJggg==" alt="" />
OK,现在可以实现godconfig都不用建了。
还有第二种写法:我懒球得记了。好吧,这才是真正的懒。
第三种写法,和PHP7匿名类有关。
PHP中的构造函数是__construct(参数) {} ,类在实例化的时候首先会执行这个函数。接下来我们来看PHP7 的匿名类(其实没啥神秘,所谓匿名就是没名字而已).只不过区别在于,如果匿名类要使用外部变量,需要传进去,否则无法使用。
<?php
//functions for PHP7
function genConfig($cnt):string
{
return file_put_contents(getcwd().'/god.json',$cnt).' of bytes is written.'.PHP_EOL.'god config is created';
}
function TC($p){
return new class($p){ //this is 匿名类
function __construct($p){
foreach ($p as $k => $v){
$this -> $k = $v;
}
}
};
}
其实上面这个一点都不懒,写这么多代码^_^;
还是看看结果吧:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdcAAABtCAIAAAB8wLwxAAAgAElEQVR4nO2daVxTx/rH/6/D4oJbe9t7ve1Jws7JyWFL2GRHQRZRQRAEARFQISp4EUURWWLdWq1WK6nW1ipYr0pdelWs97ovcUF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v2vVeH2gQrvvjJ5V2LLj9183AoDs3YOT6cGO8oyhUeBPzzvOHQMAEEda90V2fFCghQr3eaCYTkHHP8DjrdzeeuLwJmw+tvubNGtcuxno3QW1KEQ7umi9bW4+9c/O50VMMOiTog5KZ0s9cw9icig/oAN+fp90c13sXwMUKBQoxNBnUKowAoFA/GVAKvzXQM/Ezjxsoq/Ae/zgc3BGIP7aUI3OYbZMtgsL00yZ6WFu6XiOhFyylG09CF0oPx4s3ZLOCUTixEjv7iZS6TFw9M8VC0RXI236xvZBAdMl8oq0bf4fAoHoBp2qMNP9K65QQmauZGtKgCEr9CQplJDCEjOnvrGdb8eA6RZrufgCVyghcy5xEhcY2/Y+Na7HdAm3XC4hhcWm9iprBzhGrMAcPPMeKZSQq05Yhbux2n5+7CeYxRVysh+TwifcFYctQxyYHQZzmM5z8FwJKbxj5TVaR3U3Cg7fKhaITk4z0dGK9b5XYc5Yv1UFV142yid+1j4/szlMV9FAID5q/h+kGN2pWynaYQAAAABJRU5ErkJggg==" alt="" />
版权声明:笔记整理者亡命小卒热爱自由,崇尚分享。但是本笔记源自www.jtthink.com(程序员在囧途)沈逸老师的《 PHP魔鬼训练课第一阶段》。本学习笔记小卒于博客园首发, 如需转载请尊重老师劳动,保留沈逸老师署名以及课程来源地址。
恶补知识点:
1、stdClass:PHP内置顶层类,实际上是一个基类,空白的。啥都没有。如果你临时用用的,其他地方很少用。那么根本不需要新建什么实体类。直接new 一个stdClass就可以了。
2、foreach遍历数组
3、匿名类:
上一课:沈逸老师PHP魔鬼特训笔记(4)
下一课:沈逸老师PHP魔鬼特训笔记(6)--巫术与骨架
沈逸老师PHP魔鬼特训笔记(5)的更多相关文章
- 沈逸老师PHP魔鬼特训笔记(10)
为了防止代码让我们混淆不清,大家看视频中的分离方法 1.新建了一个文件夹叫code (这代表是代码) 2.再新建一个文件夹叫page (这代表是页面) 代码该怎么写呢? 这里要记住口诀 1.index ...
- 沈逸老师PHP魔鬼特训笔记(9)--进化
回到第一课,我们学过PHP母体,了解过解析PHP程序.PHP其实内置了一个web服务器,专门给我们开发测试使用,那么接下来我们要完成的是:生成后创建一个web 服务,在浏览器中可以访问. PHP的母体 ...
- 沈逸老师PHP魔鬼特训笔记(8)
创建模板文件: 这节课老师带领我们开始创建TEMPLATE,按照老师教导的思路,我们希望这样一种代码写法:1.譬如我定义一个变量$name=‘’;2.然后呢我读取一个模板.3.再然后我在这个模板里 设 ...
- 沈逸老师PHP魔鬼特训笔记(7)--我叫什么名字
一.生成文件夹. mkdir():--新建目录 bool mkdir ( string $pathname [, int $mode = 0777 [, bool $recursive = false ...
- 沈逸老师PHP魔鬼特训笔记(6)--巫术与骨架
PHP最牛逼的特性之一除了懒人函数,还有一些魔法函数. 首先我们来认识下__tostring,通过一个巫术方法,我们吧实例转化过后的类,直接当字符串输出.结合我们前面所做的功能,我们在类里面加上这个函 ...
- 沈逸老师PHP魔鬼特训笔记(4)
上一课我们通过shell脚本拷贝代码,了解了静态方法和静态属性.(还有个附件PHAR包,我直接无视了) 然后在GOD文件中写了一些参数, 我们也可以这样,把方法名像拼凑字符串一样拼起来. $get_p ...
- 沈逸老师PHP魔鬼特训笔记(3)
一.由于上两节课我们把程序放到了/usr/local/bin里面.每次编辑需要sudo .这节课我们使用PHPSTORM来编辑代码,专门把它拷贝出来,然后放到一个叫做home/godpro的文件夹下. ...
- 沈逸老师PHP魔鬼特训笔记(1)
此课程个人开发环境可以考虑使用Ubuntu ,推荐sublime和PhpStorm作为开发环境.一.PHP的一大特性是:脚本语言.不要编译,写完就可以运行? 然而并不是....... PHP代码要想运 ...
- 沈逸老师PHP魔鬼特训笔记(2)
一.这一课会学习到几个懒人函数: 1.file_put_contents (PHP 5, PHP 7) file_put_contents — 将一个字符串写入文件 说明 int file_put_c ...
随机推荐
- POJ 1039 Pipe(直线和线段相交判断,求交点)
Pipe Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8280 Accepted: 2483 Description ...
- hdu 1045 Fire Net(最小覆盖点+构图(缩点))
http://acm.hdu.edu.cn/showproblem.php?pid=1045 Fire Net Time Limit:1000MS Memory Limit:32768KB ...
- XML的特殊字符处理
XML中共有5个特殊的字符,分别是:&<>“’.如果配置文件中的注入值包括这些特殊字符,就需要进行特别处理.有两种解决方法:其一,采用本例中的<![CDATA[ ]]> ...
- MVC个人认为的终极分页
//传入要查询的字段,查询条件(例如根据姓名查看数据的数据筛选),按照什么排序,页码,信息条数 //T:要操作的类型 //Tkey:根据什么类型来排,ID的话返回的是int类型,但是name的话又会返 ...
- android获取手机的所有通讯录的号码和sim卡号码
============personer================================================ package com.qgc.cantent.entity; ...
- Linux下查看文件和文件夹大小的df和du命令
转自:http://www.yayu.org/look.php?id=162 当磁盘大小超过标准时会有报警提示,这时如果掌握df和du命令是非常明智的选择. df可以查看一级文件夹大小.使用比 ...
- 理解Web标准(网站标准)
我觉得一名Web前端应该好好理解Web标准到底是什么,为什么要在我们的实际实践中遵循Web标准. 什么是Web标准.百度百科的解释是: WEB标准不是某一个标准,而是一系列标准的集合.网页主要由三部分 ...
- Synchronization in Delphi TThread class : Synchronize, Queue
http://embarcadero.newsgroups.archived.at/public.delphi.rtl/201112/1112035763.html > Hi,>> ...
- Swift学习笔记十四
Deinitialization 当类的实例对象即将要被释放时,会立即调用deinitializer,通过deinit关键字来定义deinitializer,和initializer一样,它也只存在于 ...
- printf打印
printf 打印变量(整型,浮点型,双精度型,字符型,字符串类型) 整型: printf("%d",a); 打印出整形变量a 浮点型:printf("%f", ...