All pastes #966662 Raw Edit

Someone

public php v1 · immutable
·published 2008-04-01 21:58 UTC
rendered paste body
string 'Lšw' (length=3)int 76$foo = array(    'Löw',    $_GET['name'],    utf8_decode($_GET['name']),);foreach ($foo as $bar) {var_dump($bar);    for ($i=0; $i < strlen($bar); $i++) {        var_dump(ord($bar{$i}));    }}/*int 154int 119string 'Löw' (length=4)int 76int 195int 182int 119string 'Löw' (length=3)int 76int 246int 119*/