-
-
Save tsh-code/f7406013b8295b8472ec8463488025c0 to your computer and use it in GitHub Desktop.
fopen example
This file contains 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