GtkScintilla::get_cur_line

arrayget_cur_line(void);

Returns an array containing the current line string and the current column. The position "0" of array contain the entire line. The position "1" of array contain the current column.

$line = $scintilla->get_cur_line();
var_dump($line);
/*
array(2) {
  [0]=>
  string(6) "sdfsdf"
  [1]=>
  int(3)
}
*/