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
$str = "learning trails provide you with everything you need to.."; | |
foreach(Util::getSymbol($str, 0) as $cur){ | |
echo Util::charToHex($cur); // 6C6561726E696E672074... | |
} | |
... | |
/** | |
* @param string $str | |
* @param int $start |
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
// Java | |
/* *** test1 *** */ | |
class A | |
{ | |
public String p = "from A"; | |
public String m() | |
{ | |
return this.p; | |
} |
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
/* **** JAVA ******************************** */ | |
class A | |
{ | |
public String p = "from A"; | |
public String m() | |
{ | |
return this.p; // or simple p | |
} | |
} | |
NewerOlder