Created
April 28, 2019 10:14
-
-
Save szyku/ed1135a2e7b8459cc662a40fae223455 to your computer and use it in GitHub Desktop.
fopen example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$handler = @fopen(join(DIRECTORY_SEPARATOR, [__DIR__, 'credit_cards.txt']), "r"); | |
if ($handler) { | |
return CreditCardNumberExtractor::createFromHandler($handler); | |
} | |
/* ... */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment