PHP常用函数

文件包含函数

  • include();
  • require();

命令执行函数

  • exec();
  • system();
  • shell_exec();
  • passthru();
  • popen();
  • peoc_popen();

代码执行函数

  • eval();
  • assert();
  • execute();
  • preg_replace();

序列化函数

  • serialize();
  • unserialize();

魔术函数

  • _construct();        -- 对象被创建时调用
  • _destruct();          -- 对象被销毁时调用
  • _toString();           -- 对象被当做一个字符串时调用

Java

序列化方法

  • writeObject();
  • readObject();

命令执行方法

  • Runtime类的exec();
  • Process类的start();

MySQL

文件读写函数

  • load_file();
  • outfile();
  • dumpfile();

SQL注入函数

  • updatexml();
  • extractvalue();
  • floor();
  • if();
  • sleep();

更多推荐

常用函数(PHP/Java/MySQL)