Skip to content

Instantly share code, notes, and snippets.

@szyku
Created April 14, 2019 15:33
Show Gist options
  • Save szyku/0597d7d91beb77ab4aec506702654dac to your computer and use it in GitHub Desktop.
Save szyku/0597d7d91beb77ab4aec506702654dac 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