[ create a new paste ] login | about

Link: http://codepad.org/BHXGWXJi    [ raw code | output | fork ]

PHP, pasted on Jul 13:
1
2
3
4
5
6
7
<?php

$old_str = "Blue &#038; Whiny";
$new_str = html_entity_decode($old_str);

var_dump($old_str);
var_dump($new_str);


Output:
1
2
string(17) "Blue &#038; Whiny"
string(12) "Blue & Whiny"


Create a new paste based on this one


Comments: