Instantiating Po with an indexed array should create null fields

Issue #71 resolved
Scott Orsburn repo owner created an issue

If creating an instance of Po with an indexed array, it should create the instance with those elements as fields, but with a default assignment of null.

<?php

$sample = new Hyphen\Types\Po(["one", "two", "three"]);

print_r($sample->one); // Should be null.
print_r($sample->two); // Should be null.
print_r($sample->three); // Should be null.

Comments (1)

  1. Log in to comment