Skip to content

Instantly share code, notes, and snippets.

@baleyko
Created June 15, 2017 11:12
Show Gist options
  • Save baleyko/0c9dc2747ff8bd34236c2b0610dbaf44 to your computer and use it in GitHub Desktop.
Save baleyko/0c9dc2747ff8bd34236c2b0610dbaf44 to your computer and use it in GitHub Desktop.
<?php
return load([
[
'id' => 1,
]
]);
?>
<?php
$users = require 'users.php';
return load([
[
'id' => 1,
'user_id' => $users[0]['id']
]
]);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment