Created
March 5, 2021 13:03
-
-
Save tim-cotten/529b94746d29abe4aae92a6bf87b6218 to your computer and use it in GitHub Desktop.
PHP Bugs: Arrays Don't Like Undefined Offsets (Example F)
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 | |
if (!empty($img)) { | |
$tmg = explode("/", $img); | |
$img = $tmg[3]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment