9e127b9831
Most of this is ported over, except some omissions:
- array_filter, array_key_exists (suspected we had coverage already;
one is a bytecode, and one was rewritten in hhas recently)
- some random cases distinguishing init_null_variant vs. null_variant
10 linhas
210 B
PHP
10 linhas
210 B
PHP
<?php
|
|
|
|
$input = array("Neo", "Morpheus", "Trinity", "Cypher", "Tank");
|
|
$rand_keys = array_rand($input, 2);
|
|
var_dump(count($rand_keys));
|
|
|
|
foreach ($rand_keys as $k) {
|
|
var_dump(array_key_exists($k, $input));
|
|
}
|