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
9 linhas
207 B
PHP
9 linhas
207 B
PHP
<?php
|
|
|
|
$input = array(12, 10, 9);
|
|
var_dump(array_pad($input, 5, 0));
|
|
var_dump(array_pad($input, -7, -1));
|
|
var_dump(array_pad($input, 2, "noop"));
|
|
$a = array("9" => "b");
|
|
var_dump(array_pad($a, -3, "test"));
|