版本控制
文件配置
有时候会看到重复的变量名,那就说明它们来自不同的配置文件(比如 /etc/gitconfig 和 ~/.gitconfig),不过最终 Git 实际采用的是最后一个。
git config --list
# core.autocrlf=true
git会自动转换换行符,导致提交时有多余的文件被更改.进行一下设置修复
有时候会看到重复的变量名,那就说明它们来自不同的配置文件(比如 /etc/gitconfig 和 ~/.gitconfig),不过最终 Git 实际采用的是最后一个。
git config --list
# core.autocrlf=true
git会自动转换换行符,导致提交时有多余的文件被更改.进行一下设置修复
https://www.cnblogs.com/a609251438/p/11995542.html
https://www.cnblogs.com/a609251438/p/11995603.html
https://www.cnblogs.com/a609251438/p/11995703.html
预期学习目标
PHPSmarty是一个免费开源的,快速、简单的面向对象的轻量级PHP开发框架,是为了敏捷WEB应用开发和简化企业应用开发而诞生的
PHPSmarty
的环境要求如下:
php版本7.4.23
Warning: preg_match(): No ending delimiter '^' found in /www/wwwroot/xxxxxx.cn/formstringhandler.php on line 15
从eregi()替换为preg_match()后报错 把原来的正则'^[0-9]$' 改为 '/^[0-9]$/' 加了两个斜杠
在php正则有两种语法,一种POSIX,另一种Perl,???
php版本7.4.23
Fatal error: Uncaught Error: Call to undefined function eregi() in /www/wwwroot/xxxxxx.cn/formstringhandler.php:15 Stack trace: #0 {main} thrown in /www/wwwroot/xxxxxx.cn/formstringhandler.php on line 15
从PHP 5.3开始不推荐使用eregi(),而应使用preg_match()。
<!doctype html>
<html>
<head>
</head>
<body>
<h2>php helloworld </h2>