PHP Internals News Episódio # 38: Pré-carregamento e WeakMaps

A tradução da transcrição do podcast foi preparada antes do início do curso "Desenvolvedor Backend em PHP"








Descrição



Neste episódio do PHP Internals News, converso com Nikita Popov ( Twitter , GitHub , Website ) sobre os problemas de pré-carregamento do PHP 7.4 e seus RFC WeakMaps.



BAIXAR MP3



Transcrição



0:16

, . PHP internals news — , PHP. 38- . , . , ?



0:34

.



0:36

, . , , PHP 7.4 . — PHP 7.4 Windows. , . ?



0:56

​​ PHP 7.4 . . 7.4.2. preload-user ( , , ), , , , .



1:20

7.4.3.



1:22

. Windows. Windows , Linux. , Linux BSD fork, , . , , , .



1:48

.



1:49

, . Windows, , , . , Windows . OPcache , OPcache , PHP. , , , , . Linux , fork, . Windows . , Windows, , Windows Vista, . .



2:51

?



2:52

. .



2:54

, Linux?



2:59

, . , Unix . OPcache Windows . Linux OPcache . , OPcache — fork. Windows - fork, , . , , , : , , Windows. , . , . , , , Exception. , , , Windows. , , , Windows.



4:18

, , , .



4:24

, , , , . , , . , , , , , . — .



4:51

, , , - ?



4:58

, , — Windows. , . , , fork, . , , , - SAPI . , Windows - , Linux, .



5:34

, Windows , PHP Windows, ISAPI, . , , - ZTS, . , - PHP FPM, , .



5:57

. , , , , , , . , , , .



6:08

- , , ?



6:12

, . OPcache, require include, , OPcache , . , , , , , , , . , , , PHP 7.4. , require , , , require . , , - - , , . . , , , require , OPcache.



7:26

, , , .



7:30

, require.



7:34

, , RFC, , . WeakMap WeakMaps RFC, , PHP 7.4. , ?



7:58

. , — , . , , . , . , , (map), - . . , , , , … , , , , , . . WeakMap. , — - . , .



9:16

, . - ? , PHP .



9:22

, . . , , ArrayAccess Traversable , . .



9:37

, . weak map — , ArrayAccess.



9:44

.



9:45

Weak Map? ?



9:49

, , PHP. , ArrayAccess — weak map , . Traversable — weak map , , , Countable, , . .



10:12

, , , , ?



10:17

.



10:18

, .



10:20

, , , Traversable . .



10:33

?



10:35

weak map, ORM. , , , , . , , ORM, Memory Usage . , . , .



11:12

- ORM ?



11:15

.



11:16

weak maps — - PHP, ? - ? , — , - , , . , weak maps?



11:37

, . , , , , . , , Weak Reference Weak Map, .



12:05

, - , ?



12:08

, , .



12:16

RFC, - SPL ID , , . ? -, , , , , . , ORM .



12:44

. - , . , . SPL . , - PHP 7.0, , , SPL ID , . , , . , . ID .



13:30

?



13:35

. , , . , . ID. , , . ID - .



14:04

« », , PHP?



14:08

.



14:10

, , RFC , , ?



14:16

: 25,



14:18

25, . .



14:22

RFC, , , , , 95%, . .



14:34

. , PHP 8, , .



14:39

. .



14:41

, , , Windows. , .



14:50

, .



14:52

PHP internals news, , PHP. Patreon , Xdebug. Patreon . , derick@phpinternals.news. , , .





RFC: WeakMaps






«Backend- PHP»







All Articles