stripslashes

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Un-quotes a quoted string
<?php stripslashes(string $string): string
<?php             [$idColumn, $id] = $this->getUniqueIds($idColumn, $parameters);



            if (! is_null($id)) {

                $id = stripslashes($id);

            }

        }
<?php         $rule->ignore('Taylor, Otwell"\'..-"', 'id_column');

        $rule->where('foo', 'bar');

        $this->assertSame('unique:table,column,"Taylor, Otwell\"\\\'..-\"",id_column,foo,"bar"', (string) $rule);

        $this->assertSame('Taylor, Otwell"\'..-"', stripslashes(str_getcsv('table,column,"Taylor, Otwell\"\\\'..-\"",id_column,foo,"bar"')[2]));

        $this->assertSame('id_column', stripslashes(str_getcsv('table,column,"Taylor, Otwell\"\\\'..-\"",id_column,foo,"bar"')[3]));



        $rule = new Unique('table', 'column');
<?php         $rule->where('foo', 'bar');

        $this->assertSame('unique:table,column,"Taylor, Otwell\"\\\'..-\"",id_column,foo,"bar"', (string) $rule);

        $this->assertSame('Taylor, Otwell"\'..-"', stripslashes(str_getcsv('table,column,"Taylor, Otwell\"\\\'..-\"",id_column,foo,"bar"')[2]));

        $this->assertSame('id_column', stripslashes(str_getcsv('table,column,"Taylor, Otwell\"\\\'..-\"",id_column,foo,"bar"')[3]));



        $rule = new Unique('table', 'column');

        $rule->ignore(null, 'id_column');
<?php                     $conditional = '<?php if ('.$condition.'): ?>'.addslashes($this->getVariable($if_true, $data)).'<?php endif ?>';




                    $output = stripslashes($this->parsePhp($conditional));




                    $text = str_replace($match[0], $output, $text);
<?php                     $conditional = '<?php echo('.$condition.') ? "'.addslashes($this->getVariable(trim($if_true), $data)).'" : "'.addslashes($this->getVariable(trim($if_false), $data)).'"; ?>';




                    $output = stripslashes($this->parsePhp($conditional));




                    $text = str_replace($match[0], $output, $text);
<?php             foreach ($matches[1] as $i => $attr) {


                $key = trim($matches[1][$i]);

                $value = stripslashes($matches[3][$i]);




                if (isset($return[$key])) {