equal
deleted
inserted
replaced
81 * |
81 * |
82 * @param array $matches preg_replace regexp matches |
82 * @param array $matches preg_replace regexp matches |
83 * @return string |
83 * @return string |
84 */ |
84 */ |
85 public function callback( $matches ) { |
85 public function callback( $matches ) { |
86 $index = intval( substr( $matches[0], 9, -1 ) ); |
86 $index = (int) substr( $matches[0], 9, -1 ); |
87 return ( isset( $this->_matches[ $index ] ) ? urlencode( $this->_matches[ $index ] ) : '' ); |
87 return ( isset( $this->_matches[ $index ] ) ? urlencode( $this->_matches[ $index ] ) : '' ); |
88 } |
88 } |
89 } |
89 } |