File "DoubleQuoteUsageUnitTest.inc"

Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.inc
File size: 699 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
$string = "Hello\tThere";
$string = "Hello There\r\n";
$string = "Hello There";
$string = "Hello $there";
$string = 'Hello'."$there '".'hi';
$string = "My name is 'Greg'";
$string = "Hello"." There"."\n";
$string = "Hello There\f";
$string = "Hello There\b";
$string = "Hello\vThere";
$string = "\x0";
$string = 'Hello '.$there.' Greg';
$string = "<div class='$class'>";
$string = "Value: $var[test]";
$string = "\0";
$string = "\$var";

$x = "bar = '$z',
baz = '" . $a . "'...$x";

$string = "Hello
there";
$string = 'Hello
there';

$string = "\123 \234"."\u123"."\e";

echo "window.location = \"".$url."\";\n";
echo ""

$string = "Hello
			there";

function test() {
    echo "It Worked';
}