PHP ??? ?? ????? ??? ???? ???? ?? ???, ??? ??? ? ?? ??? ????? ?????. ???? ???? ?????? ?? ?? ?????? ??? ?? ? ? ?? ???? ?????.
PHP? ??? ?? ??, Dependency Injection (DI) ????? ? ??? ??? ???? ?? ?????. ???? PHP ??? ?? ????? ??? ?????? ??? ???, ???? ???? ???? ????? ????? ??? ???? ?? ?? ? ? ????? ???? ?????. ??? ?? ? ??? ????? ?? ???? ???? ? ???? ?? ??? DI ????? ??? ?? ?? ??? ? ? ????.
PHP ??? ?? ????? Nitty-Gritty? ?? ?? ???. ? ??????? ???? ??? ???? ?? ??? UserRepository
??? UserService
???? ??? ???????. DI ????? ??? UserService
??? UserRepository
?? ??????? ??? ?? ??? ?? ? ? ??? ??? ? ????. DI ????? ??? ????. ?? ???? ???? ??? ???? ?? ? ??? ???? ??? ???? ???? ?????.
???? ?? ????.
psr \ container \ containerinterface? ??????. psr \ container \ notfoundExceptionIncefface? ??????. psr \ container \ containerexectioninceptioninterface? ??????. ??? ????? ???? interface? ????? { ?? $ entries = []; ?? ?? get ($ id) { if (! isset ($ this-> entries [$ id])) { ??? notFoundExceptionInterface? ????? ( "{$ id}? ?? ?? ??"); } $ entry = $ this-> entries [$ id]; \ Closure? $ Entry Instance? ?? ??????? $ Entry ($ this) : $ Entry; } ?? ??? ($ id) { ?? ISSET ($ this-> entries [$ id]); } ?? ?? ?? ($ id, $ value) { $ this-> entries [$ id] = $ value; } } ??? ??? ??? { ?? $ ??? repository; ?? ?? __construct (userreepository $ userrepository) { $ this-> userreepository = $ userrepository; } ?? ?? getUser ($ id) { return $ this-> userreepository-> find ($ id); } } ??? ??? repository { ?? ?? ?? ($ id) { // ?????? ?? ????? ?? [ "id"=> $ id, "name"=> "John Doe"]; } } $ ???? = ??? ???? (); $ container-> set (userreepository :: class, new userrepository ()); $ ????-> set (userService :: class, function (???? $ ????) { New Userservice? ????? ($ container-> get (userrepository :: class)); }); $ userervice = $ container-> get (userservice :: class); $ user = $ userService-> getUser (1); print_r ($ user);
? ???? ??? ????? ???? UserService
? UserRepository
?? ???? ?????. ????? ???? ??? ???? ??????? ??? ?? ???? ??? ?? ? ? ????. ? ???? UserService
UserRepository
???? ??? ?? ???? ??? ?? ??? ?? ????? ?? ? ? ????.
?? DI ???? ??? ???? ?? ??? ? ???. ??? ????, ??? ?? ????? ???? ?? ? ??? ?? ?? ?????. ?? ?? ??? ?? ?? ? ????? ????? ??? ? ??????. ??? ???? ? ??? ? ??? ????. DI ????? ???? ???? ?? ??? ???? ??? ????? ???? ? ? ?? ??? ???? "Configuration Hell"?? ??? ????. ????? ??? ?? ????? ???? ?? ?????. ??? ??? ????? ?? ??? ? ?? ??? ????? ? ?????.
? ??? ?? DI ????? ?? ? ? ?? ?? ? ??? ???? ??? ??? ? ???? ???? ????. ??? ?? ??? ??? ????? ???? ??? ??????? ?? ??? ??? ??????. ?? ???? ?? ?????? ???? ???? ??? ???? ?? ????? ?? ???? ? ? ??? ??????.
?? ???? DI ????? ?? ?? ??? ????? ?? ??? ????? ???????. ??? ??? ?? ??????? ?? ????? ??? ??? ???? ??? ?? ?? ?? ?? ??? ??? ???? ?? ??? ? ????.
????? ?? PHP ??? ?? ????? ??? ??? ?????. ??? ?? ?? ? ??? ???? ?? ???? ? ??? ?? ??? ????? ???? ???????. ?? ???? ??? ???? ???? DI ????? ?????? ?? ?? ?? ?? ? ????.
? ??? PHP ??? ?? ???? : ?? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

PHP?? ?? ?? ??? ???? ?? ??? ? ???? ?? ??? ???? ?? ??? ???? ???? ????. 1. ?? ?? ??? ?? ??? URL ? ?? ??? ????. 2. UrlenCode? ???? ?? ??? ???????. 3. ? ???? ????? ?? ?? ??? ? ?? ??? ?????. 4. ???? ???? ?? ? ? ??? ??? ??? ??? ?????. 5. ??? ?? ??? ????? ?? ????? OG ??? ???? ?????. 6. XSS ??? ???? ?? ??? ??? ?????. ? ???? ??? ??? ???? ??? ?? ?? ??? ??? ???? ??? ?? ??? ?????.

1. ?? ???? ??? ??? ?????? ?? ?? ??? ??, ??? ?? ???? ??? (? : ?? ???, ? ? ??), ?? ??? ?? ???? ???? ? ?? ?? ??? ??? ?? ??? ????????. 2. ?? ??? ??? ?? ? ??? ???? ?? ?? ?? ???? ?? ? ?? AUDIT ?? ??? ??? ? ????? ????? ??? ???????. 3. ?? ?? ??? ?? ??? ???????. Recaptchav3 ???? ??, ??? ?? ?? ?? ?? ??, IP ? ?? ??? ??? ??? ?? ???? ??? ?? ??? ????? ??? ???? ????? ??? ?????.

AI? ??? ??? ?? ?? ? ?? ???? ????? ?? ??? ??????. 1. Baidu, Tencent API ?? ?? ?? NLP ?????? ?? ??? AI ?? ?? API? ??????. 2. PHP? ? ?? guzzle? ?? API? ???? ?? ??? ??????. 3. ?? ????? ?? ?? ??? ???? ???? ???? ??? ??? ? ????. 4. ?? ?? ? ?? ???? ?? PHP-L ? PHP_CODESNIFFER? ??????. 5. ???? ????? ???? ?? ?? ??? ?????? ??? ??????. AIAPI? ??? ? ???, ?? ??, ?? ? PHP ?? ??? ??? ???. ?? ???? PSR ??? ???, ??? ????? ????, ?? ??? ???, ????? ??? ????, X? ???????.

??? ?? ??? ??? ?? JavaScript? MediareCorder API? ?? PHP ???? ???? ?????. 2. PHP? ???? ?? ??? ???? STTAPI (? : Google ?? Baidu ?? ??)? ???? ???? ?????. 3. PHP? ???? AI ??? (? : OpenAigpt)? ????. 4. ?? ?? PHP? TTSAPI (? : Baidu ?? Google ?? ??)? ???? ??? ?? ??? ?????. 5. PHP? ?? ??? ??? ??? ??? ?? ?? ??? ?????. ?? ????? PHP? ?? ???? ?? ?? ?? ??? ??? ?????.

PHP? AI ??? ??? ?? ????? ??? API? ?? ?????. ??? ??? ????? ? ??? ???? ?????. API ??? ?? ?? ??? ???? ??? ??? ???? ???? ? ????. 2. ?? ?? ???? guzzle ?? curl? ???? HTTP ??? ???, JSON ??? ??? ? ???, API ? ?? ??, ??? ? ?? ??? ???? ??, ??? ?? ?? ? ? ?? ????, ??? ?? ? ?????? ?????. 3. ???? ???? ?? ???? API ??, ?? ? ??? ?? ??, ??? ?? ??, ?? ?? ? ??? ??? ??? ?????. ?? ??? ??? ??? ? ??? ???? Propt ?? ? ?? ?? ??, ??? ?? ? ?? ????, ?? ?? ?? ???? ? ??? ?? ? ???? ????? ?????.

PHP? ?????? ????? ?? ?? ?? ???? ???? ?? ???? ???? ?? ?? ???? ?????. 2. ?? ??? ???? ???? ?? ??? ?? ? ??? ??? ???? ?? API/Webhook ??? ??? ?? ???? ??? ??? ??? ??? ?????. 3. ?? ????? ?? ??, ??/???? ????, ???? ??, ???? ? ??? ?????? ????? ?? ??? ???? ???? ?? Dingtalk, SMS ?? ??? ???? ??? ?????? ???? ?? ? ??? ??? ????? ?? ??? ???? ???????.

PhpisstillRelevantinmodernenterpriseenvironments.1. Modernphp (7.xand8.x)? ??? ??, ??? ??, jitcompilation ? modernsyntax, mateitsuilableforlarge-scalepplications

MAC ?? ???? ? ??? ?? ??? ????? ?? ? ??? ????? ????. 1. ???? ???? ???? ???? ??? ?? ? ?? ????? ??? ???? ??????. 2. ????? ?? ?? ? ??? ???? ???? ?? ?? ????? ??? ???? ?????. 3. ??? ?? ??? ???? ?? ???? ?? ???? ?? ???? ?? ? ? ????. 4. ??? ????? ????? ? ?? ?? ? ??? ?? ? ??? ??????.
