Skip to content

Instantly share code, notes, and snippets.

@kougazhang
Created December 16, 2021 00:44
Show Gist options
  • Save kougazhang/850cb94cdeb05459b6fd21597a762acd to your computer and use it in GitHub Desktop.
Save kougazhang/850cb94cdeb05459b6fd21597a762acd to your computer and use it in GitHub Desktop.
#php
  • 声明变量都加 $
  • 调用类 a 的方法b 使用 $a->b

php 执行文件需要写:

<? php
  echo "hello"
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment