?????????? ????????? - ??????????????? - /home/agenciai/public_html/cd38d8/08_leaktrace.t.tar
???????
home/.cpan/build/Test-LeakTrace-0.17-0/t/08_leaktrace.t 0000644 00000001046 15127567644 0015776 0 ustar 00 #!perl -w use strict; use Test::More 'no_plan'; # I don't know the number of 'ok' use Test::LeakTrace; ok defined &leaktrace; leaktrace{ my %a = (foo => 42); my %b = (bar => 3.14); $b{a} = \%a; $a{b} = \%b; pass 'in leaktrace block'; } sub { my($ref, $file, $line) = @_; is scalar(@_), 3, 'leaktrace callback args is 3 (svref, file, line)'; ok ref($ref), ref $ref; isnt ref($ref), 'UNKNOWN'; isnt $file, undef; isnt $line, undef; }; leaktrace{ my %a = (foo => 42); my %b = (bar => 3.14); } sub { fail 'must not be called'; };
| ver. 1.6 |
Github
|
.
| PHP 8.2.30 | ??????????? ?????????: 0 |
proxy
|
phpinfo
|
???????????