src/PoEntry.php
public function addQuoted(string $type, string $value): void
    {
        if ($value[0]=='"') {
            $value = substr($value, 1, -1);
        }
        $value = stripcslashes($value);

        if ($this->entry[$type] === null) {
            $this->entry[$type] = array();
        }
        $this->entry[$type] = (array) $this->entry[$type];
        $this->entry[$type][] = $value;
    }
public function addQuoted(string $type, string $value): void
    {
        if ($value[0]=='"') {
            $value = substr($value, 1, -1);
        }
        $value = stripcslashes($value);

        if ($this->entry[$type] === null) {
            $this->entry[$type] = array();
        }
        $this->entry[$type] = (array) $this->entry[$type];
        $this->entry[$type][] = $value;
    }
public function addQuoted ( string $ type , string $ value ) : void { if ( $ value [ 0 ] == '"' ) { $ value = substr ( $ value , 1 , - 1 ) ; } $ value = stripcslashes ( $ value ) ; if ( $ this -> entry [ $ type ] === null ) { $ this -> entry [ $ type ] = array ( ) ; } $ this -> entry [ $ type ] = ( array ) $ this -> entry [ $ type ] ; $ this -> entry [ $ type ] [ ] = $ value ; }
add a quoted value to the array 'type' in the entry

@param string $type  PoToken constant
@param string $value value to store
@return void
add a quoted value to the array type in the entry