<?php class mysafe{ public $logname; public $isshwomsg; function __construct(){ set_error_handler('MyError',E_ALL); //----- } function MyError($errno, $errstr, $errfile, $errline){ echo "<b>Error number:</b> [$errno],error on line $errline in $errfile<br />"; exit; } function wlog($logs){ if(empty($logname)){ $this->logname=$_SERVER["DOCUMENT_ROOT"]."/log.htm"; } $Ts=fopen($this->logname,"a+"); fputs($Ts,$logs."\r\n"); fclose($Ts); } function showmsg($msg='',$flag=false){ $this->isshwomsg=empty($this->isshwomsg) ? false : true; if ($this->isshwomsg) { echo '<br />--------------------------------------<br />'; echo $msg; echo '<br />--------------------------------------<br />'; if ($flag) exit; }
PHP ???? ? ??? ??? ??????. ??? ??? ?? ???? ???? ???? ??? ? ????.
? ???? ?? ???? ???? ????? ?? ???? ????? ????????. ?????? ???? ?? ??????! ? ???? ?? ???? ?? ?????? ?????. ??? ???? ???? ??? ????. ??? ??? ?? ??? ?? ??? ???? ????! ??? ?? ?? ??? ???? ????? ????. ???: admin@php.cn
?? ??

25 Jul 2025
? ??? eloquentorm? ???? ?? ??? ?? ? Laravel ??? ???? ?? ???? ???? ???? ?????? ???? "??? ??"? ?? ???? ??? ???? ?? ??????. ? ??? MySQL?? ?? ?? ?? ??? ?????, ??? ???? ??? ??? ???? ???? ?? ???? ???? ????? ?? ??? ??? ?? ? ??? ?? Eloquent 's? ?? ?? ? ??? ??? ??? ???? ??? ??? ?????.

23 Jul 2025
? ??? ?? ?? ?? ?? ??? MySQL? ?? ??? ??????? ??? ?? ??? ??? ?? ?? ??? ?? ? ??? ?? ?????? ?? (?? Laraveleloquent)? ??? ??? ?? ??? ??? ?? ??? ???? ??? ????? ?????. ??? Eloquent 's Preloading (??)? ???? ??? ?? ??? ???? ?? ???? ??? ????? ???? ????? ?????? ??? ???? ?? "??? ?? ?"? ??? ??? ???? ??? ??? ? ????.

12 Aug 2025
? ????? Pandas Dataframe?? ???? ?? ?????? str.contains () ???? ???? ??? ?? ??? ?????. ??? ?? ??? (? : & means "?", ", ~ ~ ~", "non")? ?? ?? ?? ??? ???? ??? ??? ? ????. ???? ??? ?? ??? ??? ????? ?? ??? ???? ???? ????? ???? ??? ?? ??? ???? ? ????.

01 Nov 2024
MYSQL?? LIKE ? =? ??? ?? ?? MySQL?? LIKE ? = ???? ??? ???? ??? ??? ???. ? ? ??? ????? ...

06 Aug 2025
? ??? ?? ??? ???? ?? PHP? API? ?? ? ? ??? ? ?? ???? ????? ???? ??? ???? ?? ??????. ?? ?????? ?? ???? ??? ??? ?? ??? API ?, ??? ?? ?? ?? ? ?? ?? ??? ?? ?? ??? ???? API? ??? ?? ????? ??? ? ??? ??? ?? ? ????. ? ??? ??? ??? ?? ??? ?? ??? ???? ???? ?? ?? ?? ? ?? ??? ?????.


??? ??

??? ?? ????? PHP ?????
??? ?? ????? PHP ?????

50?? ??? ??? PHP ???? ??
??? PHP ????, ??? ????? ??? ???? ?????

??? ???? ?? ?? PHP ?????
??? ???? ?? ?? PHP ?????
