Skip to content

Instantly share code, notes, and snippets.

@tsh-code
Forked from szyku/naive1.php
Created June 10, 2019 09:37
Show Gist options
  • Save tsh-code/6c98116dd0ebfd00a7f8e3ce8ea47e0f to your computer and use it in GitHub Desktop.
Save tsh-code/6c98116dd0ebfd00a7f8e3ce8ea47e0f to your computer and use it in GitHub Desktop.
naive1
<?php
class XYZ {
// ...
public function openForRead($id)
{
return @fopen($id, 'r');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment