--TEST-- Test htmlspecialchars_decode() function : usage variations - double quoted strings for 'string' argument --FILE-- --EXPECTF-- *** Testing htmlspecialchars_decode() : usage variations *** -- Iteration 1 -- string(89) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string "" string(89) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string "" string(99) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string "" string(84) "Roy's height > Sam's $height... 1111 ≈ 0000 = 0000... " double quote string "" -- Iteration 2 -- string(82) "Roy's height > Sam's height... 13 < 15... " double quote string "" string(82) "Roy's height > Sam's height... 13 < 15... " double quote string "" string(92) "Roy's height > Sam's height... 13 < 15... " double quote string "" string(72) "Roy's height > Sam's height... 13 < 15... " double quote string "" -- Iteration 3 -- string(44) " Roy's height > ; Sam's height " string(44) " Roy's height > ; Sam's height " string(44) " Roy's height > ; Sam's height " string(34) " Roy's height > ; Sam's height " -- Iteration 4 -- string(44) " Roy's height > ; Sam 's height" string(44) " Roy's height > ; Sam 's height" string(44) " Roy's height > ; Sam 's height" string(34) " Roy's height > ; Sam 's height" -- Iteration 5 -- string(30) " 1 3 & gt; 11 but 11 & lt; 12" string(30) " 1 3 & gt; 11 but 11 & lt; 12" string(30) " 1 3 & gt; 11 but 11 & lt; 12" string(30) " 1 3 & gt; 11 but 11 & lt; 12" Done