Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add array_pull() for pull array value from specified fields #116

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aiddroid
Copy link

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 97.439% when pulling 38daa27 on aiddroid:master into 8d4e335 on brandonwamboldt:master.

@coveralls
Copy link

coveralls commented May 11, 2016

Coverage Status

Coverage decreased (-0.04%) to 97.463% when pulling 5b38b18 on aiddroid:master into 8d4e335 on brandonwamboldt:master.

@coveralls
Copy link

coveralls commented May 11, 2016

Coverage Status

Coverage decreased (-0.04%) to 97.463% when pulling a966b93 on aiddroid:master into 8d4e335 on brandonwamboldt:master.


$expected = array(array('name' => 'Allen', 'age' => 20, 'sex' => 'M'), array('name' => 'Jack', 'age' => 22, 'sex' => 'M'), array('name' => 'Lucy', 'age' => 24, 'sex' => 'F'));
$this->assertEquals($expected, util::array_pack(array('name' => $names, 'age' => $ages, 'sex' => $sexes)));
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use short arrays. [] vs array().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants