3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $code =<<<'EOC' <?php /* * This file is part of the Redaktilo project. * * (c) Loïc Chardonnet <loic.chardonnet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Gnugat\Redaktilo\Replace; use Gnugat\Redaktilo\Converter\LineContentConverter; use Gnugat\Redaktilo\File; /** * This strategy manipulates lines stripped of their line break character. * * @api */ class LineReplaceStrategy implements ReplaceStrategy { /** @var LineContentConverter */ private $converter; /** @param LineContentConverter */ public function __construct(LineContentConverter $converter) { $this->converter = $converter; } /** {@inheritdoc} */ public function supports($location) { return (is_int($location) && $location >= 0); } /** {@inheritdoc} */ public function removeAt(File $file, $location) { $lines = $this->converter->from($file); unset($lines[$location]); $this->converter->back($file, $lines); } /** {@inheritdoc} */ public function replaceWith(File $file, $location, $replacement) { $lines = $this->converter->from($file); $lines[$location] = $replacement; $this->converter->back($file, $lines); } /** {@inheritdoc} */ public function insertAt(File $file, $location, $addition) { $lines = $this->converter->from($file); array_splice($lines, $location, 0, $addition); $this->converter->back($file, $lines); } } EOC; var_dump(token_get_all($code));
Output for 7.0.0 - 7.1.0
array(294) { [0]=> array(3) { [0]=> int(379) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(2) } [2]=> array(3) { [0]=> int(377) [1]=> string(238) "/* * This file is part of the Redaktilo project. * * (c) Loïc Chardonnet <loic.chardonnet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */" [2]=> int(3) } [3]=> array(3) { [0]=> int(382) [1]=> string(2) " " [2]=> int(10) } [4]=> array(3) { [0]=> int(388) [1]=> string(9) "namespace" [2]=> int(12) } [5]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(12) } [6]=> array(3) { [0]=> int(319) [1]=> string(6) "Gnugat" [2]=> int(12) } [7]=> array(3) { [0]=> int(390) [1]=> string(1) "\" [2]=> int(12) } [8]=> array(3) { [0]=> int(319) [1]=> string(9) "Redaktilo" [2]=> int(12) } [9]=> array(3) { [0]=> int(390) [1]=> string(1) "\" [2]=> int(12) } [10]=> array(3) { [0]=> int(319) [1]=> string(7) "Replace" [2]=> int(12) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(382) [1]=> string(2) " " [2]=> int(12) } [13]=> array(3) { [0]=> int(353) [1]=> string(3) "use" [2]=> int(14) } [14]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(14) } [15]=> array(3) { [0]=> int(319) [1]=> string(6) "Gnugat" [2]=> int(14) } [16]=> array(3) { [0]=> int(390) [1]=> string(1) "\" [2]=> int(14) } [17]=> array(3) { [0]=> int(319) [1]=> string(9) "Redaktilo" [2]=> int(14) } [18]=> array(3) { [0]=> int(390) [1]=> string(1) "\" [2]=> int(14) } [19]=> array(3) { [0]=> int(319) [1]=> string(9) "Converter" [2]=> int(14) } [20]=> array(3) { [0]=> int(390) [1]=> string(1) "\" [2]=> int(14) } [21]=> array(3) { [0]=> int(319) [1]=> string(20) "LineContentConverter" [2]=> int(14) } [22]=> string(1) ";" [23]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(14) } [24]=> array(3) { [0]=> int(353) [1]=> string(3) "use" [2]=> int(15) } [25]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(15) } [26]=> array(3) { [0]=> int(319) [1]=> string(6) "Gnugat" [2]=> int(15) } [27]=> array(3) { [0]=> int(390) [1]=> string(1) "\" [2]=> int(15) } [28]=> array(3) { [0]=> int(319) [1]=> string(9) "Redaktilo" [2]=> int(15) } [29]=> array(3) { [0]=> int(390) [1]=> string(1) "\" [2]=> int(15) } [30]=> array(3) { [0]=> int(319) [1]=> string(4) "File" [2]=> int(15) } [31]=> string(1) ";" [32]=> array(3) { [0]=> int(382) [1]=> string(2) " " [2]=> int(15) } [33]=> array(3) { [0]=> int(378) [1]=> string(93) "/** * This strategy manipulates lines stripped of their line break character. * * @api */" [2]=> int(17) } [34]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(21) } [35]=> array(3) { [0]=> int(361) [1]=> string(5) "class" [2]=> int(22) } [36]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(22) } [37]=> array(3) { [0]=> int(319) [1]=> string(19) "LineReplaceStrategy" [2]=> int(22) } [38]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(22) } [39]=> array(3) { [0]=> int(365) [1]=> string(10) "implements" [2]=> int(22) } [40]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(22) } [41]=> array(3) { [0]=> int(319) [1]=> string(15) "ReplaceStrategy" [2]=> int(22) } [42]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(22) } [43]=> string(1) "{" [44]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(23) } [45]=> array(3) { [0]=> int(378) [1]=> string(32) "/** @var LineContentConverter */" [2]=> int(24) } [46]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(24) } [47]=> array(3) { [0]=> int(314) [1]=> string(7) "private" [2]=> int(25) } [48]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(25) } [49]=> array(3) { [0]=> int(320) [1]=> string(10) "$converter" [2]=> int(25) } [50]=> string(1) ";" [51]=> array(3) { [0]=> int(382) [1]=> string(6) " " [2]=> int(25) } [52]=> array(3) { [0]=> int(378) [1]=> string(34) "/** @param LineContentConverter */" [2]=> int(27) } [53]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(27) } [54]=> array(3) { [0]=> int(316) [1]=> string(6) "public" [2]=> int(28) } [55]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(28) } [56]=> array(3) { [0]=> int(346) [1]=> string(8) "function" [2]=> int(28) } [57]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(28) } [58]=> array(3) { [0]=> int(319) [1]=> string(11) "__construct" [2]=> int(28) } [59]=> string(1) "(" [60]=> array(3) { [0]=> int(319) [1]=> string(20) "LineContentConverter" [2]=> int(28) } [61]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(28) } [62]=> array(3) { [0]=> int(320) [1]=> string(10) "$converter" [2]=> int(28) } [63]=> string(1) ")" [64]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(28) } [65]=> string(1) "{" [66]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(29) } [67]=> array(3) { [0]=> int(320) [1]=> string(5) "$this" [2]=> int(30) } [68]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(30) } [69]=> array(3) { [0]=> int(319) [1]=> string(9) "converter" [2]=> int(30) } [70]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(30) } [71]=> string(1) "=" [72]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(30) } [73]=> array(3) { [0]=> int(320) [1]=> string(10) "$converter" [2]=> int(30) } [74]=> string(1) ";" [75]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(30) } [76]=> string(1) "}" [77]=> array(3) { [0]=> int(382) [1]=> string(6) " " [2]=> int(31) } [78]=> array(3) { [0]=> int(378) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(33) } [79]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(33) } [80]=> array(3) { [0]=> int(316) [1]=> string(6) "public" [2]=> int(34) } [81]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(34) } [82]=> array(3) { [0]=> int(346) [1]=> string(8) "function" [2]=> int(34) } [83]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(34) } [84]=> array(3) { [0]=> int(319) [1]=> string(8) "supports" [2]=> int(34) } [85]=> string(1) "(" [86]=> array(3) { [0]=> int(320) [1]=> string(9) "$location" [2]=> int(34) } [87]=> string(1) ")" [88]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(34) } [89]=> string(1) "{" [90]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(35) } [91]=> array(3) { [0]=> int(348) [1]=> string(6) "return" [2]=> int(36) } [92]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(36) } [93]=> string(1) "(" [94]=> array(3) { [0]=> int(319) [1]=> string(6) "is_int" [2]=> int(36) } [95]=> string(1) "(" [96]=> array(3) { [0]=> int(320) [1]=> string(9) "$location" [2]=> int(36) } [97]=> string(1) ")" [98]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(36) } [99]=> array(3) { [0]=> int(284) [1]=> string(2) "&&" [2]=> int(36) } [100]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(36) } [101]=> array(3) { [0]=> int(320) [1]=> string(9) "$location" [2]=> int(36) } [102]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(36) } [103]=> array(3) { [0]=> int(291) [1]=> string(2) ">=" [2]=> int(36) } [104]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(36) } [105]=> array(3) { [0]=> int(317) [1]=> string(1) "0" [2]=> int(36) } [106]=> string(1) ")" [107]=> string(1) ";" [108]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(36) } [109]=> string(1) "}" [110]=> array(3) { [0]=> int(382) [1]=> string(6) " " [2]=> int(37) } [111]=> array(3) { [0]=> int(378) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(39) } [112]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(39) } [113]=> array(3) { [0]=> int(316) [1]=> string(6) "public" [2]=> int(40) } [114]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(40) } [115]=> array(3) { [0]=> int(346) [1]=> string(8) "function" [2]=> int(40) } [116]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(40) } [117]=> array(3) { [0]=> int(319) [1]=> string(8) "removeAt" [2]=> int(40) } [118]=> string(1) "(" [119]=> array(3) { [0]=> int(319) [1]=> string(4) "File" [2]=> int(40) } [120]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(40) } [121]=> array(3) { [0]=> int(320) [1]=> string(5) "$file" [2]=> int(40) } [122]=> string(1) "," [123]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(40) } [124]=> array(3) { [0]=> int(320) [1]=> string(9) "$location" [2]=> int(40) } [125]=> string(1) ")" [126]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(40) } [127]=> string(1) "{" [128]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(41) } [129]=> array(3) { [0]=> int(320) [1]=> string(6) "$lines" [2]=> int(42) } [130]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(42) } [131]=> string(1) "=" [132]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(42) } [133]=> array(3) { [0]=> int(320) [1]=> string(5) "$this" [2]=> int(42) } [134]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(42) } [135]=> array(3) { [0]=> int(319) [1]=> string(9) "converter" [2]=> int(42) } [136]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(42) } [137]=> array(3) { [0]=> int(319) [1]=> string(4) "from" [2]=> int(42) } [138]=> string(1) "(" [139]=> array(3) { [0]=> int(320) [1]=> string(5) "$file" [2]=> int(42) } [140]=> string(1) ")" [141]=> string(1) ";" [142]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(42) } [143]=> array(3) { [0]=> int(357) [1]=> string(5) "unset" [2]=> int(43) } [144]=> string(1) "(" [145]=> array(3) { [0]=> int(320) [1]=> string(6) "$lines" [2]=> int(43) } [146]=> string(1) "[" [147]=> array(3) { [0]=> int(320) [1]=> string(9) "$location" [2]=> int(43) } [148]=> string(1) "]" [149]=> string(1) ")" [150]=> string(1) ";" [151]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(43) } [152]=> array(3) { [0]=> int(320) [1]=> string(5) "$this" [2]=> int(44) } [153]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(44) } [154]=> array(3) { [0]=> int(319) [1]=> string(9) "converter" [2]=> int(44) } [155]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(44) } [156]=> array(3) { [0]=> int(319) [1]=> string(4) "back" [2]=> int(44) } [157]=> string(1) "(" [158]=> array(3) { [0]=> int(320) [1]=> string(5) "$file" [2]=> int(44) } [159]=> string(1) "," [160]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(44) } [161]=> array(3) { [0]=> int(320) [1]=> string(6) "$lines" [2]=> int(44) } [162]=> string(1) ")" [163]=> string(1) ";" [164]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(44) } [165]=> string(1) "}" [166]=> array(3) { [0]=> int(382) [1]=> string(6) " " [2]=> int(45) } [167]=> array(3) { [0]=> int(378) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(47) } [168]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(47) } [169]=> array(3) { [0]=> int(316) [1]=> string(6) "public" [2]=> int(48) } [170]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(48) } [171]=> array(3) { [0]=> int(346) [1]=> string(8) "function" [2]=> int(48) } [172]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(48) } [173]=> array(3) { [0]=> int(319) [1]=> string(11) "replaceWith" [2]=> int(48) } [174]=> string(1) "(" [175]=> array(3) { [0]=> int(319) [1]=> string(4) "File" [2]=> int(48) } [176]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(48) } [177]=> array(3) { [0]=> int(320) [1]=> string(5) "$file" [2]=> int(48) } [178]=> string(1) "," [179]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(48) } [180]=> array(3) { [0]=> int(320) [1]=> string(9) "$location" [2]=> int(48) } [181]=> string(1) "," [182]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(48) } [183]=> array(3) { [0]=> int(320) [1]=> string(12) "$replacement" [2]=> int(48) } [184]=> string(1) ")" [185]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(48) } [186]=> string(1) "{" [187]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(49) } [188]=> array(3) { [0]=> int(320) [1]=> string(6) "$lines" [2]=> int(50) } [189]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(50) } [190]=> string(1) "=" [191]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(50) } [192]=> array(3) { [0]=> int(320) [1]=> string(5) "$this" [2]=> int(50) } [193]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(50) } [194]=> array(3) { [0]=> int(319) [1]=> string(9) "converter" [2]=> int(50) } [195]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(50) } [196]=> array(3) { [0]=> int(319) [1]=> string(4) "from" [2]=> int(50) } [197]=> string(1) "(" [198]=> array(3) { [0]=> int(320) [1]=> string(5) "$file" [2]=> int(50) } [199]=> string(1) ")" [200]=> string(1) ";" [201]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(50) } [202]=> array(3) { [0]=> int(320) [1]=> string(6) "$lines" [2]=> int(51) } [203]=> string(1) "[" [204]=> array(3) { [0]=> int(320) [1]=> string(9) "$location" [2]=> int(51) } [205]=> string(1) "]" [206]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(51) } [207]=> string(1) "=" [208]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(51) } [209]=> array(3) { [0]=> int(320) [1]=> string(12) "$replacement" [2]=> int(51) } [210]=> string(1) ";" [211]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(51) } [212]=> array(3) { [0]=> int(320) [1]=> string(5) "$this" [2]=> int(52) } [213]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(52) } [214]=> array(3) { [0]=> int(319) [1]=> string(9) "converter" [2]=> int(52) } [215]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(52) } [216]=> array(3) { [0]=> int(319) [1]=> string(4) "back" [2]=> int(52) } [217]=> string(1) "(" [218]=> array(3) { [0]=> int(320) [1]=> string(5) "$file" [2]=> int(52) } [219]=> string(1) "," [220]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(52) } [221]=> array(3) { [0]=> int(320) [1]=> string(6) "$lines" [2]=> int(52) } [222]=> string(1) ")" [223]=> string(1) ";" [224]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(52) } [225]=> string(1) "}" [226]=> array(3) { [0]=> int(382) [1]=> string(6) " " [2]=> int(53) } [227]=> array(3) { [0]=> int(378) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(55) } [228]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(55) } [229]=> array(3) { [0]=> int(316) [1]=> string(6) "public" [2]=> int(56) } [230]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(56) } [231]=> array(3) { [0]=> int(346) [1]=> string(8) "function" [2]=> int(56) } [232]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(56) } [233]=> array(3) { [0]=> int(319) [1]=> string(8) "insertAt" [2]=> int(56) } [234]=> string(1) "(" [235]=> array(3) { [0]=> int(319) [1]=> string(4) "File" [2]=> int(56) } [236]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(56) } [237]=> array(3) { [0]=> int(320) [1]=> string(5) "$file" [2]=> int(56) } [238]=> string(1) "," [239]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(56) } [240]=> array(3) { [0]=> int(320) [1]=> string(9) "$location" [2]=> int(56) } [241]=> string(1) "," [242]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(56) } [243]=> array(3) { [0]=> int(320) [1]=> string(9) "$addition" [2]=> int(56) } [244]=> string(1) ")" [245]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(56) } [246]=> string(1) "{" [247]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(57) } [248]=> array(3) { [0]=> int(320) [1]=> string(6) "$lines" [2]=> int(58) } [249]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(58) } [250]=> string(1) "=" [251]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(58) } [252]=> array(3) { [0]=> int(320) [1]=> string(5) "$this" [2]=> int(58) } [253]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(58) } [254]=> array(3) { [0]=> int(319) [1]=> string(9) "converter" [2]=> int(58) } [255]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(58) } [256]=> array(3) { [0]=> int(319) [1]=> string(4) "from" [2]=> int(58) } [257]=> string(1) "(" [258]=> array(3) { [0]=> int(320) [1]=> string(5) "$file" [2]=> int(58) } [259]=> string(1) ")" [260]=> string(1) ";" [261]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(58) } [262]=> array(3) { [0]=> int(319) [1]=> string(12) "array_splice" [2]=> int(59) } [263]=> string(1) "(" [264]=> array(3) { [0]=> int(320) [1]=> string(6) "$lines" [2]=> int(59) } [265]=> string(1) "," [266]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(59) } [267]=> array(3) { [0]=> int(320) [1]=> string(9) "$location" [2]=> int(59) } [268]=> string(1) "," [269]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(59) } [270]=> array(3) { [0]=> int(317) [1]=> string(1) "0" [2]=> int(59) } [271]=> string(1) "," [272]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(59) } [273]=> array(3) { [0]=> int(320) [1]=> string(9) "$addition" [2]=> int(59) } [274]=> string(1) ")" [275]=> string(1) ";" [276]=> array(3) { [0]=> int(382) [1]=> string(9) " " [2]=> int(59) } [277]=> array(3) { [0]=> int(320) [1]=> string(5) "$this" [2]=> int(60) } [278]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(60) } [279]=> array(3) { [0]=> int(319) [1]=> string(9) "converter" [2]=> int(60) } [280]=> array(3) { [0]=> int(366) [1]=> string(2) "->" [2]=> int(60) } [281]=> array(3) { [0]=> int(319) [1]=> string(4) "back" [2]=> int(60) } [282]=> string(1) "(" [283]=> array(3) { [0]=> int(320) [1]=> string(5) "$file" [2]=> int(60) } [284]=> string(1) "," [285]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(60) } [286]=> array(3) { [0]=> int(320) [1]=> string(6) "$lines" [2]=> int(60) } [287]=> string(1) ")" [288]=> string(1) ";" [289]=> array(3) { [0]=> int(382) [1]=> string(5) " " [2]=> int(60) } [290]=> string(1) "}" [291]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(61) } [292]=> string(1) "}" [293]=> array(3) { [0]=> int(382) [1]=> string(1) " " [2]=> int(62) } }
Output for 5.6.7 - 5.6.28
array(294) { [0]=> array(3) { [0]=> int(376) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(2) } [2]=> array(3) { [0]=> int(374) [1]=> string(238) "/* * This file is part of the Redaktilo project. * * (c) Loïc Chardonnet <loic.chardonnet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */" [2]=> int(3) } [3]=> array(3) { [0]=> int(379) [1]=> string(2) " " [2]=> int(10) } [4]=> array(3) { [0]=> int(385) [1]=> string(9) "namespace" [2]=> int(12) } [5]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(12) } [6]=> array(3) { [0]=> int(310) [1]=> string(6) "Gnugat" [2]=> int(12) } [7]=> array(3) { [0]=> int(388) [1]=> string(1) "\" [2]=> int(12) } [8]=> array(3) { [0]=> int(310) [1]=> string(9) "Redaktilo" [2]=> int(12) } [9]=> array(3) { [0]=> int(388) [1]=> string(1) "\" [2]=> int(12) } [10]=> array(3) { [0]=> int(310) [1]=> string(7) "Replace" [2]=> int(12) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(379) [1]=> string(2) " " [2]=> int(12) } [13]=> array(3) { [0]=> int(344) [1]=> string(3) "use" [2]=> int(14) } [14]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(14) } [15]=> array(3) { [0]=> int(310) [1]=> string(6) "Gnugat" [2]=> int(14) } [16]=> array(3) { [0]=> int(388) [1]=> string(1) "\" [2]=> int(14) } [17]=> array(3) { [0]=> int(310) [1]=> string(9) "Redaktilo" [2]=> int(14) } [18]=> array(3) { [0]=> int(388) [1]=> string(1) "\" [2]=> int(14) } [19]=> array(3) { [0]=> int(310) [1]=> string(9) "Converter" [2]=> int(14) } [20]=> array(3) { [0]=> int(388) [1]=> string(1) "\" [2]=> int(14) } [21]=> array(3) { [0]=> int(310) [1]=> string(20) "LineContentConverter" [2]=> int(14) } [22]=> string(1) ";" [23]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(14) } [24]=> array(3) { [0]=> int(344) [1]=> string(3) "use" [2]=> int(15) } [25]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(15) } [26]=> array(3) { [0]=> int(310) [1]=> string(6) "Gnugat" [2]=> int(15) } [27]=> array(3) { [0]=> int(388) [1]=> string(1) "\" [2]=> int(15) } [28]=> array(3) { [0]=> int(310) [1]=> string(9) "Redaktilo" [2]=> int(15) } [29]=> array(3) { [0]=> int(388) [1]=> string(1) "\" [2]=> int(15) } [30]=> array(3) { [0]=> int(310) [1]=> string(4) "File" [2]=> int(15) } [31]=> string(1) ";" [32]=> array(3) { [0]=> int(379) [1]=> string(2) " " [2]=> int(15) } [33]=> array(3) { [0]=> int(375) [1]=> string(93) "/** * This strategy manipulates lines stripped of their line break character. * * @api */" [2]=> int(17) } [34]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(21) } [35]=> array(3) { [0]=> int(358) [1]=> string(5) "class" [2]=> int(22) } [36]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(22) } [37]=> array(3) { [0]=> int(310) [1]=> string(19) "LineReplaceStrategy" [2]=> int(22) } [38]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(22) } [39]=> array(3) { [0]=> int(362) [1]=> string(10) "implements" [2]=> int(22) } [40]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(22) } [41]=> array(3) { [0]=> int(310) [1]=> string(15) "ReplaceStrategy" [2]=> int(22) } [42]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(22) } [43]=> string(1) "{" [44]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(23) } [45]=> array(3) { [0]=> int(375) [1]=> string(32) "/** @var LineContentConverter */" [2]=> int(24) } [46]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(24) } [47]=> array(3) { [0]=> int(349) [1]=> string(7) "private" [2]=> int(25) } [48]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(25) } [49]=> array(3) { [0]=> int(312) [1]=> string(10) "$converter" [2]=> int(25) } [50]=> string(1) ";" [51]=> array(3) { [0]=> int(379) [1]=> string(6) " " [2]=> int(25) } [52]=> array(3) { [0]=> int(375) [1]=> string(34) "/** @param LineContentConverter */" [2]=> int(27) } [53]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(27) } [54]=> array(3) { [0]=> int(347) [1]=> string(6) "public" [2]=> int(28) } [55]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(28) } [56]=> array(3) { [0]=> int(337) [1]=> string(8) "function" [2]=> int(28) } [57]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(28) } [58]=> array(3) { [0]=> int(310) [1]=> string(11) "__construct" [2]=> int(28) } [59]=> string(1) "(" [60]=> array(3) { [0]=> int(310) [1]=> string(20) "LineContentConverter" [2]=> int(28) } [61]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(28) } [62]=> array(3) { [0]=> int(312) [1]=> string(10) "$converter" [2]=> int(28) } [63]=> string(1) ")" [64]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(28) } [65]=> string(1) "{" [66]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(29) } [67]=> array(3) { [0]=> int(312) [1]=> string(5) "$this" [2]=> int(30) } [68]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(30) } [69]=> array(3) { [0]=> int(310) [1]=> string(9) "converter" [2]=> int(30) } [70]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(30) } [71]=> string(1) "=" [72]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(30) } [73]=> array(3) { [0]=> int(312) [1]=> string(10) "$converter" [2]=> int(30) } [74]=> string(1) ";" [75]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(30) } [76]=> string(1) "}" [77]=> array(3) { [0]=> int(379) [1]=> string(6) " " [2]=> int(31) } [78]=> array(3) { [0]=> int(375) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(33) } [79]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(33) } [80]=> array(3) { [0]=> int(347) [1]=> string(6) "public" [2]=> int(34) } [81]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(34) } [82]=> array(3) { [0]=> int(337) [1]=> string(8) "function" [2]=> int(34) } [83]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(34) } [84]=> array(3) { [0]=> int(310) [1]=> string(8) "supports" [2]=> int(34) } [85]=> string(1) "(" [86]=> array(3) { [0]=> int(312) [1]=> string(9) "$location" [2]=> int(34) } [87]=> string(1) ")" [88]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(34) } [89]=> string(1) "{" [90]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(35) } [91]=> array(3) { [0]=> int(339) [1]=> string(6) "return" [2]=> int(36) } [92]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(36) } [93]=> string(1) "(" [94]=> array(3) { [0]=> int(310) [1]=> string(6) "is_int" [2]=> int(36) } [95]=> string(1) "(" [96]=> array(3) { [0]=> int(312) [1]=> string(9) "$location" [2]=> int(36) } [97]=> string(1) ")" [98]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(36) } [99]=> array(3) { [0]=> int(281) [1]=> string(2) "&&" [2]=> int(36) } [100]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(36) } [101]=> array(3) { [0]=> int(312) [1]=> string(9) "$location" [2]=> int(36) } [102]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(36) } [103]=> array(3) { [0]=> int(286) [1]=> string(2) ">=" [2]=> int(36) } [104]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(36) } [105]=> array(3) { [0]=> int(308) [1]=> string(1) "0" [2]=> int(36) } [106]=> string(1) ")" [107]=> string(1) ";" [108]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(36) } [109]=> string(1) "}" [110]=> array(3) { [0]=> int(379) [1]=> string(6) " " [2]=> int(37) } [111]=> array(3) { [0]=> int(375) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(39) } [112]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(39) } [113]=> array(3) { [0]=> int(347) [1]=> string(6) "public" [2]=> int(40) } [114]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(40) } [115]=> array(3) { [0]=> int(337) [1]=> string(8) "function" [2]=> int(40) } [116]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(40) } [117]=> array(3) { [0]=> int(310) [1]=> string(8) "removeAt" [2]=> int(40) } [118]=> string(1) "(" [119]=> array(3) { [0]=> int(310) [1]=> string(4) "File" [2]=> int(40) } [120]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(40) } [121]=> array(3) { [0]=> int(312) [1]=> string(5) "$file" [2]=> int(40) } [122]=> string(1) "," [123]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(40) } [124]=> array(3) { [0]=> int(312) [1]=> string(9) "$location" [2]=> int(40) } [125]=> string(1) ")" [126]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(40) } [127]=> string(1) "{" [128]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(41) } [129]=> array(3) { [0]=> int(312) [1]=> string(6) "$lines" [2]=> int(42) } [130]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(42) } [131]=> string(1) "=" [132]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(42) } [133]=> array(3) { [0]=> int(312) [1]=> string(5) "$this" [2]=> int(42) } [134]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(42) } [135]=> array(3) { [0]=> int(310) [1]=> string(9) "converter" [2]=> int(42) } [136]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(42) } [137]=> array(3) { [0]=> int(310) [1]=> string(4) "from" [2]=> int(42) } [138]=> string(1) "(" [139]=> array(3) { [0]=> int(312) [1]=> string(5) "$file" [2]=> int(42) } [140]=> string(1) ")" [141]=> string(1) ";" [142]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(42) } [143]=> array(3) { [0]=> int(354) [1]=> string(5) "unset" [2]=> int(43) } [144]=> string(1) "(" [145]=> array(3) { [0]=> int(312) [1]=> string(6) "$lines" [2]=> int(43) } [146]=> string(1) "[" [147]=> array(3) { [0]=> int(312) [1]=> string(9) "$location" [2]=> int(43) } [148]=> string(1) "]" [149]=> string(1) ")" [150]=> string(1) ";" [151]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(43) } [152]=> array(3) { [0]=> int(312) [1]=> string(5) "$this" [2]=> int(44) } [153]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(44) } [154]=> array(3) { [0]=> int(310) [1]=> string(9) "converter" [2]=> int(44) } [155]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(44) } [156]=> array(3) { [0]=> int(310) [1]=> string(4) "back" [2]=> int(44) } [157]=> string(1) "(" [158]=> array(3) { [0]=> int(312) [1]=> string(5) "$file" [2]=> int(44) } [159]=> string(1) "," [160]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(44) } [161]=> array(3) { [0]=> int(312) [1]=> string(6) "$lines" [2]=> int(44) } [162]=> string(1) ")" [163]=> string(1) ";" [164]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(44) } [165]=> string(1) "}" [166]=> array(3) { [0]=> int(379) [1]=> string(6) " " [2]=> int(45) } [167]=> array(3) { [0]=> int(375) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(47) } [168]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(47) } [169]=> array(3) { [0]=> int(347) [1]=> string(6) "public" [2]=> int(48) } [170]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(48) } [171]=> array(3) { [0]=> int(337) [1]=> string(8) "function" [2]=> int(48) } [172]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(48) } [173]=> array(3) { [0]=> int(310) [1]=> string(11) "replaceWith" [2]=> int(48) } [174]=> string(1) "(" [175]=> array(3) { [0]=> int(310) [1]=> string(4) "File" [2]=> int(48) } [176]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(48) } [177]=> array(3) { [0]=> int(312) [1]=> string(5) "$file" [2]=> int(48) } [178]=> string(1) "," [179]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(48) } [180]=> array(3) { [0]=> int(312) [1]=> string(9) "$location" [2]=> int(48) } [181]=> string(1) "," [182]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(48) } [183]=> array(3) { [0]=> int(312) [1]=> string(12) "$replacement" [2]=> int(48) } [184]=> string(1) ")" [185]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(48) } [186]=> string(1) "{" [187]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(49) } [188]=> array(3) { [0]=> int(312) [1]=> string(6) "$lines" [2]=> int(50) } [189]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(50) } [190]=> string(1) "=" [191]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(50) } [192]=> array(3) { [0]=> int(312) [1]=> string(5) "$this" [2]=> int(50) } [193]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(50) } [194]=> array(3) { [0]=> int(310) [1]=> string(9) "converter" [2]=> int(50) } [195]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(50) } [196]=> array(3) { [0]=> int(310) [1]=> string(4) "from" [2]=> int(50) } [197]=> string(1) "(" [198]=> array(3) { [0]=> int(312) [1]=> string(5) "$file" [2]=> int(50) } [199]=> string(1) ")" [200]=> string(1) ";" [201]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(50) } [202]=> array(3) { [0]=> int(312) [1]=> string(6) "$lines" [2]=> int(51) } [203]=> string(1) "[" [204]=> array(3) { [0]=> int(312) [1]=> string(9) "$location" [2]=> int(51) } [205]=> string(1) "]" [206]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(51) } [207]=> string(1) "=" [208]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(51) } [209]=> array(3) { [0]=> int(312) [1]=> string(12) "$replacement" [2]=> int(51) } [210]=> string(1) ";" [211]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(51) } [212]=> array(3) { [0]=> int(312) [1]=> string(5) "$this" [2]=> int(52) } [213]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(52) } [214]=> array(3) { [0]=> int(310) [1]=> string(9) "converter" [2]=> int(52) } [215]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(52) } [216]=> array(3) { [0]=> int(310) [1]=> string(4) "back" [2]=> int(52) } [217]=> string(1) "(" [218]=> array(3) { [0]=> int(312) [1]=> string(5) "$file" [2]=> int(52) } [219]=> string(1) "," [220]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(52) } [221]=> array(3) { [0]=> int(312) [1]=> string(6) "$lines" [2]=> int(52) } [222]=> string(1) ")" [223]=> string(1) ";" [224]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(52) } [225]=> string(1) "}" [226]=> array(3) { [0]=> int(379) [1]=> string(6) " " [2]=> int(53) } [227]=> array(3) { [0]=> int(375) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(55) } [228]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(55) } [229]=> array(3) { [0]=> int(347) [1]=> string(6) "public" [2]=> int(56) } [230]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(56) } [231]=> array(3) { [0]=> int(337) [1]=> string(8) "function" [2]=> int(56) } [232]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(56) } [233]=> array(3) { [0]=> int(310) [1]=> string(8) "insertAt" [2]=> int(56) } [234]=> string(1) "(" [235]=> array(3) { [0]=> int(310) [1]=> string(4) "File" [2]=> int(56) } [236]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(56) } [237]=> array(3) { [0]=> int(312) [1]=> string(5) "$file" [2]=> int(56) } [238]=> string(1) "," [239]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(56) } [240]=> array(3) { [0]=> int(312) [1]=> string(9) "$location" [2]=> int(56) } [241]=> string(1) "," [242]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(56) } [243]=> array(3) { [0]=> int(312) [1]=> string(9) "$addition" [2]=> int(56) } [244]=> string(1) ")" [245]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(56) } [246]=> string(1) "{" [247]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(57) } [248]=> array(3) { [0]=> int(312) [1]=> string(6) "$lines" [2]=> int(58) } [249]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(58) } [250]=> string(1) "=" [251]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(58) } [252]=> array(3) { [0]=> int(312) [1]=> string(5) "$this" [2]=> int(58) } [253]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(58) } [254]=> array(3) { [0]=> int(310) [1]=> string(9) "converter" [2]=> int(58) } [255]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(58) } [256]=> array(3) { [0]=> int(310) [1]=> string(4) "from" [2]=> int(58) } [257]=> string(1) "(" [258]=> array(3) { [0]=> int(312) [1]=> string(5) "$file" [2]=> int(58) } [259]=> string(1) ")" [260]=> string(1) ";" [261]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(58) } [262]=> array(3) { [0]=> int(310) [1]=> string(12) "array_splice" [2]=> int(59) } [263]=> string(1) "(" [264]=> array(3) { [0]=> int(312) [1]=> string(6) "$lines" [2]=> int(59) } [265]=> string(1) "," [266]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(59) } [267]=> array(3) { [0]=> int(312) [1]=> string(9) "$location" [2]=> int(59) } [268]=> string(1) "," [269]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(59) } [270]=> array(3) { [0]=> int(308) [1]=> string(1) "0" [2]=> int(59) } [271]=> string(1) "," [272]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(59) } [273]=> array(3) { [0]=> int(312) [1]=> string(9) "$addition" [2]=> int(59) } [274]=> string(1) ")" [275]=> string(1) ";" [276]=> array(3) { [0]=> int(379) [1]=> string(9) " " [2]=> int(59) } [277]=> array(3) { [0]=> int(312) [1]=> string(5) "$this" [2]=> int(60) } [278]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(60) } [279]=> array(3) { [0]=> int(310) [1]=> string(9) "converter" [2]=> int(60) } [280]=> array(3) { [0]=> int(363) [1]=> string(2) "->" [2]=> int(60) } [281]=> array(3) { [0]=> int(310) [1]=> string(4) "back" [2]=> int(60) } [282]=> string(1) "(" [283]=> array(3) { [0]=> int(312) [1]=> string(5) "$file" [2]=> int(60) } [284]=> string(1) "," [285]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(60) } [286]=> array(3) { [0]=> int(312) [1]=> string(6) "$lines" [2]=> int(60) } [287]=> string(1) ")" [288]=> string(1) ";" [289]=> array(3) { [0]=> int(379) [1]=> string(5) " " [2]=> int(60) } [290]=> string(1) "}" [291]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(61) } [292]=> string(1) "}" [293]=> array(3) { [0]=> int(379) [1]=> string(1) " " [2]=> int(62) } }
Output for 5.5.24 - 5.5.35
array(294) { [0]=> array(3) { [0]=> int(374) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(2) } [2]=> array(3) { [0]=> int(372) [1]=> string(238) "/* * This file is part of the Redaktilo project. * * (c) Loïc Chardonnet <loic.chardonnet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */" [2]=> int(3) } [3]=> array(3) { [0]=> int(377) [1]=> string(2) " " [2]=> int(10) } [4]=> array(3) { [0]=> int(383) [1]=> string(9) "namespace" [2]=> int(12) } [5]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(12) } [6]=> array(3) { [0]=> int(308) [1]=> string(6) "Gnugat" [2]=> int(12) } [7]=> array(3) { [0]=> int(386) [1]=> string(1) "\" [2]=> int(12) } [8]=> array(3) { [0]=> int(308) [1]=> string(9) "Redaktilo" [2]=> int(12) } [9]=> array(3) { [0]=> int(386) [1]=> string(1) "\" [2]=> int(12) } [10]=> array(3) { [0]=> int(308) [1]=> string(7) "Replace" [2]=> int(12) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(377) [1]=> string(2) " " [2]=> int(12) } [13]=> array(3) { [0]=> int(342) [1]=> string(3) "use" [2]=> int(14) } [14]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(14) } [15]=> array(3) { [0]=> int(308) [1]=> string(6) "Gnugat" [2]=> int(14) } [16]=> array(3) { [0]=> int(386) [1]=> string(1) "\" [2]=> int(14) } [17]=> array(3) { [0]=> int(308) [1]=> string(9) "Redaktilo" [2]=> int(14) } [18]=> array(3) { [0]=> int(386) [1]=> string(1) "\" [2]=> int(14) } [19]=> array(3) { [0]=> int(308) [1]=> string(9) "Converter" [2]=> int(14) } [20]=> array(3) { [0]=> int(386) [1]=> string(1) "\" [2]=> int(14) } [21]=> array(3) { [0]=> int(308) [1]=> string(20) "LineContentConverter" [2]=> int(14) } [22]=> string(1) ";" [23]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(14) } [24]=> array(3) { [0]=> int(342) [1]=> string(3) "use" [2]=> int(15) } [25]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(15) } [26]=> array(3) { [0]=> int(308) [1]=> string(6) "Gnugat" [2]=> int(15) } [27]=> array(3) { [0]=> int(386) [1]=> string(1) "\" [2]=> int(15) } [28]=> array(3) { [0]=> int(308) [1]=> string(9) "Redaktilo" [2]=> int(15) } [29]=> array(3) { [0]=> int(386) [1]=> string(1) "\" [2]=> int(15) } [30]=> array(3) { [0]=> int(308) [1]=> string(4) "File" [2]=> int(15) } [31]=> string(1) ";" [32]=> array(3) { [0]=> int(377) [1]=> string(2) " " [2]=> int(15) } [33]=> array(3) { [0]=> int(373) [1]=> string(93) "/** * This strategy manipulates lines stripped of their line break character. * * @api */" [2]=> int(17) } [34]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(21) } [35]=> array(3) { [0]=> int(356) [1]=> string(5) "class" [2]=> int(22) } [36]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(22) } [37]=> array(3) { [0]=> int(308) [1]=> string(19) "LineReplaceStrategy" [2]=> int(22) } [38]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(22) } [39]=> array(3) { [0]=> int(360) [1]=> string(10) "implements" [2]=> int(22) } [40]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(22) } [41]=> array(3) { [0]=> int(308) [1]=> string(15) "ReplaceStrategy" [2]=> int(22) } [42]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(22) } [43]=> string(1) "{" [44]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(23) } [45]=> array(3) { [0]=> int(373) [1]=> string(32) "/** @var LineContentConverter */" [2]=> int(24) } [46]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(24) } [47]=> array(3) { [0]=> int(347) [1]=> string(7) "private" [2]=> int(25) } [48]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(25) } [49]=> array(3) { [0]=> int(310) [1]=> string(10) "$converter" [2]=> int(25) } [50]=> string(1) ";" [51]=> array(3) { [0]=> int(377) [1]=> string(6) " " [2]=> int(25) } [52]=> array(3) { [0]=> int(373) [1]=> string(34) "/** @param LineContentConverter */" [2]=> int(27) } [53]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(27) } [54]=> array(3) { [0]=> int(345) [1]=> string(6) "public" [2]=> int(28) } [55]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(28) } [56]=> array(3) { [0]=> int(335) [1]=> string(8) "function" [2]=> int(28) } [57]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(28) } [58]=> array(3) { [0]=> int(308) [1]=> string(11) "__construct" [2]=> int(28) } [59]=> string(1) "(" [60]=> array(3) { [0]=> int(308) [1]=> string(20) "LineContentConverter" [2]=> int(28) } [61]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(28) } [62]=> array(3) { [0]=> int(310) [1]=> string(10) "$converter" [2]=> int(28) } [63]=> string(1) ")" [64]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(28) } [65]=> string(1) "{" [66]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(29) } [67]=> array(3) { [0]=> int(310) [1]=> string(5) "$this" [2]=> int(30) } [68]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(30) } [69]=> array(3) { [0]=> int(308) [1]=> string(9) "converter" [2]=> int(30) } [70]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(30) } [71]=> string(1) "=" [72]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(30) } [73]=> array(3) { [0]=> int(310) [1]=> string(10) "$converter" [2]=> int(30) } [74]=> string(1) ";" [75]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(30) } [76]=> string(1) "}" [77]=> array(3) { [0]=> int(377) [1]=> string(6) " " [2]=> int(31) } [78]=> array(3) { [0]=> int(373) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(33) } [79]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(33) } [80]=> array(3) { [0]=> int(345) [1]=> string(6) "public" [2]=> int(34) } [81]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(34) } [82]=> array(3) { [0]=> int(335) [1]=> string(8) "function" [2]=> int(34) } [83]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(34) } [84]=> array(3) { [0]=> int(308) [1]=> string(8) "supports" [2]=> int(34) } [85]=> string(1) "(" [86]=> array(3) { [0]=> int(310) [1]=> string(9) "$location" [2]=> int(34) } [87]=> string(1) ")" [88]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(34) } [89]=> string(1) "{" [90]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(35) } [91]=> array(3) { [0]=> int(337) [1]=> string(6) "return" [2]=> int(36) } [92]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(36) } [93]=> string(1) "(" [94]=> array(3) { [0]=> int(308) [1]=> string(6) "is_int" [2]=> int(36) } [95]=> string(1) "(" [96]=> array(3) { [0]=> int(310) [1]=> string(9) "$location" [2]=> int(36) } [97]=> string(1) ")" [98]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(36) } [99]=> array(3) { [0]=> int(280) [1]=> string(2) "&&" [2]=> int(36) } [100]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(36) } [101]=> array(3) { [0]=> int(310) [1]=> string(9) "$location" [2]=> int(36) } [102]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(36) } [103]=> array(3) { [0]=> int(285) [1]=> string(2) ">=" [2]=> int(36) } [104]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(36) } [105]=> array(3) { [0]=> int(306) [1]=> string(1) "0" [2]=> int(36) } [106]=> string(1) ")" [107]=> string(1) ";" [108]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(36) } [109]=> string(1) "}" [110]=> array(3) { [0]=> int(377) [1]=> string(6) " " [2]=> int(37) } [111]=> array(3) { [0]=> int(373) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(39) } [112]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(39) } [113]=> array(3) { [0]=> int(345) [1]=> string(6) "public" [2]=> int(40) } [114]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(40) } [115]=> array(3) { [0]=> int(335) [1]=> string(8) "function" [2]=> int(40) } [116]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(40) } [117]=> array(3) { [0]=> int(308) [1]=> string(8) "removeAt" [2]=> int(40) } [118]=> string(1) "(" [119]=> array(3) { [0]=> int(308) [1]=> string(4) "File" [2]=> int(40) } [120]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(40) } [121]=> array(3) { [0]=> int(310) [1]=> string(5) "$file" [2]=> int(40) } [122]=> string(1) "," [123]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(40) } [124]=> array(3) { [0]=> int(310) [1]=> string(9) "$location" [2]=> int(40) } [125]=> string(1) ")" [126]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(40) } [127]=> string(1) "{" [128]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(41) } [129]=> array(3) { [0]=> int(310) [1]=> string(6) "$lines" [2]=> int(42) } [130]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(42) } [131]=> string(1) "=" [132]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(42) } [133]=> array(3) { [0]=> int(310) [1]=> string(5) "$this" [2]=> int(42) } [134]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(42) } [135]=> array(3) { [0]=> int(308) [1]=> string(9) "converter" [2]=> int(42) } [136]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(42) } [137]=> array(3) { [0]=> int(308) [1]=> string(4) "from" [2]=> int(42) } [138]=> string(1) "(" [139]=> array(3) { [0]=> int(310) [1]=> string(5) "$file" [2]=> int(42) } [140]=> string(1) ")" [141]=> string(1) ";" [142]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(42) } [143]=> array(3) { [0]=> int(352) [1]=> string(5) "unset" [2]=> int(43) } [144]=> string(1) "(" [145]=> array(3) { [0]=> int(310) [1]=> string(6) "$lines" [2]=> int(43) } [146]=> string(1) "[" [147]=> array(3) { [0]=> int(310) [1]=> string(9) "$location" [2]=> int(43) } [148]=> string(1) "]" [149]=> string(1) ")" [150]=> string(1) ";" [151]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(43) } [152]=> array(3) { [0]=> int(310) [1]=> string(5) "$this" [2]=> int(44) } [153]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(44) } [154]=> array(3) { [0]=> int(308) [1]=> string(9) "converter" [2]=> int(44) } [155]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(44) } [156]=> array(3) { [0]=> int(308) [1]=> string(4) "back" [2]=> int(44) } [157]=> string(1) "(" [158]=> array(3) { [0]=> int(310) [1]=> string(5) "$file" [2]=> int(44) } [159]=> string(1) "," [160]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(44) } [161]=> array(3) { [0]=> int(310) [1]=> string(6) "$lines" [2]=> int(44) } [162]=> string(1) ")" [163]=> string(1) ";" [164]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(44) } [165]=> string(1) "}" [166]=> array(3) { [0]=> int(377) [1]=> string(6) " " [2]=> int(45) } [167]=> array(3) { [0]=> int(373) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(47) } [168]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(47) } [169]=> array(3) { [0]=> int(345) [1]=> string(6) "public" [2]=> int(48) } [170]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(48) } [171]=> array(3) { [0]=> int(335) [1]=> string(8) "function" [2]=> int(48) } [172]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(48) } [173]=> array(3) { [0]=> int(308) [1]=> string(11) "replaceWith" [2]=> int(48) } [174]=> string(1) "(" [175]=> array(3) { [0]=> int(308) [1]=> string(4) "File" [2]=> int(48) } [176]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(48) } [177]=> array(3) { [0]=> int(310) [1]=> string(5) "$file" [2]=> int(48) } [178]=> string(1) "," [179]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(48) } [180]=> array(3) { [0]=> int(310) [1]=> string(9) "$location" [2]=> int(48) } [181]=> string(1) "," [182]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(48) } [183]=> array(3) { [0]=> int(310) [1]=> string(12) "$replacement" [2]=> int(48) } [184]=> string(1) ")" [185]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(48) } [186]=> string(1) "{" [187]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(49) } [188]=> array(3) { [0]=> int(310) [1]=> string(6) "$lines" [2]=> int(50) } [189]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(50) } [190]=> string(1) "=" [191]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(50) } [192]=> array(3) { [0]=> int(310) [1]=> string(5) "$this" [2]=> int(50) } [193]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(50) } [194]=> array(3) { [0]=> int(308) [1]=> string(9) "converter" [2]=> int(50) } [195]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(50) } [196]=> array(3) { [0]=> int(308) [1]=> string(4) "from" [2]=> int(50) } [197]=> string(1) "(" [198]=> array(3) { [0]=> int(310) [1]=> string(5) "$file" [2]=> int(50) } [199]=> string(1) ")" [200]=> string(1) ";" [201]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(50) } [202]=> array(3) { [0]=> int(310) [1]=> string(6) "$lines" [2]=> int(51) } [203]=> string(1) "[" [204]=> array(3) { [0]=> int(310) [1]=> string(9) "$location" [2]=> int(51) } [205]=> string(1) "]" [206]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(51) } [207]=> string(1) "=" [208]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(51) } [209]=> array(3) { [0]=> int(310) [1]=> string(12) "$replacement" [2]=> int(51) } [210]=> string(1) ";" [211]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(51) } [212]=> array(3) { [0]=> int(310) [1]=> string(5) "$this" [2]=> int(52) } [213]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(52) } [214]=> array(3) { [0]=> int(308) [1]=> string(9) "converter" [2]=> int(52) } [215]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(52) } [216]=> array(3) { [0]=> int(308) [1]=> string(4) "back" [2]=> int(52) } [217]=> string(1) "(" [218]=> array(3) { [0]=> int(310) [1]=> string(5) "$file" [2]=> int(52) } [219]=> string(1) "," [220]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(52) } [221]=> array(3) { [0]=> int(310) [1]=> string(6) "$lines" [2]=> int(52) } [222]=> string(1) ")" [223]=> string(1) ";" [224]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(52) } [225]=> string(1) "}" [226]=> array(3) { [0]=> int(377) [1]=> string(6) " " [2]=> int(53) } [227]=> array(3) { [0]=> int(373) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(55) } [228]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(55) } [229]=> array(3) { [0]=> int(345) [1]=> string(6) "public" [2]=> int(56) } [230]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(56) } [231]=> array(3) { [0]=> int(335) [1]=> string(8) "function" [2]=> int(56) } [232]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(56) } [233]=> array(3) { [0]=> int(308) [1]=> string(8) "insertAt" [2]=> int(56) } [234]=> string(1) "(" [235]=> array(3) { [0]=> int(308) [1]=> string(4) "File" [2]=> int(56) } [236]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(56) } [237]=> array(3) { [0]=> int(310) [1]=> string(5) "$file" [2]=> int(56) } [238]=> string(1) "," [239]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(56) } [240]=> array(3) { [0]=> int(310) [1]=> string(9) "$location" [2]=> int(56) } [241]=> string(1) "," [242]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(56) } [243]=> array(3) { [0]=> int(310) [1]=> string(9) "$addition" [2]=> int(56) } [244]=> string(1) ")" [245]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(56) } [246]=> string(1) "{" [247]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(57) } [248]=> array(3) { [0]=> int(310) [1]=> string(6) "$lines" [2]=> int(58) } [249]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(58) } [250]=> string(1) "=" [251]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(58) } [252]=> array(3) { [0]=> int(310) [1]=> string(5) "$this" [2]=> int(58) } [253]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(58) } [254]=> array(3) { [0]=> int(308) [1]=> string(9) "converter" [2]=> int(58) } [255]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(58) } [256]=> array(3) { [0]=> int(308) [1]=> string(4) "from" [2]=> int(58) } [257]=> string(1) "(" [258]=> array(3) { [0]=> int(310) [1]=> string(5) "$file" [2]=> int(58) } [259]=> string(1) ")" [260]=> string(1) ";" [261]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(58) } [262]=> array(3) { [0]=> int(308) [1]=> string(12) "array_splice" [2]=> int(59) } [263]=> string(1) "(" [264]=> array(3) { [0]=> int(310) [1]=> string(6) "$lines" [2]=> int(59) } [265]=> string(1) "," [266]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(59) } [267]=> array(3) { [0]=> int(310) [1]=> string(9) "$location" [2]=> int(59) } [268]=> string(1) "," [269]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(59) } [270]=> array(3) { [0]=> int(306) [1]=> string(1) "0" [2]=> int(59) } [271]=> string(1) "," [272]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(59) } [273]=> array(3) { [0]=> int(310) [1]=> string(9) "$addition" [2]=> int(59) } [274]=> string(1) ")" [275]=> string(1) ";" [276]=> array(3) { [0]=> int(377) [1]=> string(9) " " [2]=> int(59) } [277]=> array(3) { [0]=> int(310) [1]=> string(5) "$this" [2]=> int(60) } [278]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(60) } [279]=> array(3) { [0]=> int(308) [1]=> string(9) "converter" [2]=> int(60) } [280]=> array(3) { [0]=> int(361) [1]=> string(2) "->" [2]=> int(60) } [281]=> array(3) { [0]=> int(308) [1]=> string(4) "back" [2]=> int(60) } [282]=> string(1) "(" [283]=> array(3) { [0]=> int(310) [1]=> string(5) "$file" [2]=> int(60) } [284]=> string(1) "," [285]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(60) } [286]=> array(3) { [0]=> int(310) [1]=> string(6) "$lines" [2]=> int(60) } [287]=> string(1) ")" [288]=> string(1) ";" [289]=> array(3) { [0]=> int(377) [1]=> string(5) " " [2]=> int(60) } [290]=> string(1) "}" [291]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(61) } [292]=> string(1) "}" [293]=> array(3) { [0]=> int(377) [1]=> string(1) " " [2]=> int(62) } }
Output for 5.4.0 - 5.4.45
array(294) { [0]=> array(3) { [0]=> int(372) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(2) } [2]=> array(3) { [0]=> int(370) [1]=> string(238) "/* * This file is part of the Redaktilo project. * * (c) Loïc Chardonnet <loic.chardonnet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */" [2]=> int(3) } [3]=> array(3) { [0]=> int(375) [1]=> string(2) " " [2]=> int(10) } [4]=> array(3) { [0]=> int(381) [1]=> string(9) "namespace" [2]=> int(12) } [5]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(12) } [6]=> array(3) { [0]=> int(307) [1]=> string(6) "Gnugat" [2]=> int(12) } [7]=> array(3) { [0]=> int(384) [1]=> string(1) "\" [2]=> int(12) } [8]=> array(3) { [0]=> int(307) [1]=> string(9) "Redaktilo" [2]=> int(12) } [9]=> array(3) { [0]=> int(384) [1]=> string(1) "\" [2]=> int(12) } [10]=> array(3) { [0]=> int(307) [1]=> string(7) "Replace" [2]=> int(12) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(375) [1]=> string(2) " " [2]=> int(12) } [13]=> array(3) { [0]=> int(340) [1]=> string(3) "use" [2]=> int(14) } [14]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(14) } [15]=> array(3) { [0]=> int(307) [1]=> string(6) "Gnugat" [2]=> int(14) } [16]=> array(3) { [0]=> int(384) [1]=> string(1) "\" [2]=> int(14) } [17]=> array(3) { [0]=> int(307) [1]=> string(9) "Redaktilo" [2]=> int(14) } [18]=> array(3) { [0]=> int(384) [1]=> string(1) "\" [2]=> int(14) } [19]=> array(3) { [0]=> int(307) [1]=> string(9) "Converter" [2]=> int(14) } [20]=> array(3) { [0]=> int(384) [1]=> string(1) "\" [2]=> int(14) } [21]=> array(3) { [0]=> int(307) [1]=> string(20) "LineContentConverter" [2]=> int(14) } [22]=> string(1) ";" [23]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(14) } [24]=> array(3) { [0]=> int(340) [1]=> string(3) "use" [2]=> int(15) } [25]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(15) } [26]=> array(3) { [0]=> int(307) [1]=> string(6) "Gnugat" [2]=> int(15) } [27]=> array(3) { [0]=> int(384) [1]=> string(1) "\" [2]=> int(15) } [28]=> array(3) { [0]=> int(307) [1]=> string(9) "Redaktilo" [2]=> int(15) } [29]=> array(3) { [0]=> int(384) [1]=> string(1) "\" [2]=> int(15) } [30]=> array(3) { [0]=> int(307) [1]=> string(4) "File" [2]=> int(15) } [31]=> string(1) ";" [32]=> array(3) { [0]=> int(375) [1]=> string(2) " " [2]=> int(15) } [33]=> array(3) { [0]=> int(371) [1]=> string(93) "/** * This strategy manipulates lines stripped of their line break character. * * @api */" [2]=> int(17) } [34]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(21) } [35]=> array(3) { [0]=> int(354) [1]=> string(5) "class" [2]=> int(22) } [36]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(22) } [37]=> array(3) { [0]=> int(307) [1]=> string(19) "LineReplaceStrategy" [2]=> int(22) } [38]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(22) } [39]=> array(3) { [0]=> int(358) [1]=> string(10) "implements" [2]=> int(22) } [40]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(22) } [41]=> array(3) { [0]=> int(307) [1]=> string(15) "ReplaceStrategy" [2]=> int(22) } [42]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(22) } [43]=> string(1) "{" [44]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(23) } [45]=> array(3) { [0]=> int(371) [1]=> string(32) "/** @var LineContentConverter */" [2]=> int(24) } [46]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(24) } [47]=> array(3) { [0]=> int(345) [1]=> string(7) "private" [2]=> int(25) } [48]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(25) } [49]=> array(3) { [0]=> int(309) [1]=> string(10) "$converter" [2]=> int(25) } [50]=> string(1) ";" [51]=> array(3) { [0]=> int(375) [1]=> string(6) " " [2]=> int(25) } [52]=> array(3) { [0]=> int(371) [1]=> string(34) "/** @param LineContentConverter */" [2]=> int(27) } [53]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(27) } [54]=> array(3) { [0]=> int(343) [1]=> string(6) "public" [2]=> int(28) } [55]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(28) } [56]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(28) } [57]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(28) } [58]=> array(3) { [0]=> int(307) [1]=> string(11) "__construct" [2]=> int(28) } [59]=> string(1) "(" [60]=> array(3) { [0]=> int(307) [1]=> string(20) "LineContentConverter" [2]=> int(28) } [61]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(28) } [62]=> array(3) { [0]=> int(309) [1]=> string(10) "$converter" [2]=> int(28) } [63]=> string(1) ")" [64]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(28) } [65]=> string(1) "{" [66]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(29) } [67]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(30) } [68]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(30) } [69]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(30) } [70]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(30) } [71]=> string(1) "=" [72]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(30) } [73]=> array(3) { [0]=> int(309) [1]=> string(10) "$converter" [2]=> int(30) } [74]=> string(1) ";" [75]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(30) } [76]=> string(1) "}" [77]=> array(3) { [0]=> int(375) [1]=> string(6) " " [2]=> int(31) } [78]=> array(3) { [0]=> int(371) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(33) } [79]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(33) } [80]=> array(3) { [0]=> int(343) [1]=> string(6) "public" [2]=> int(34) } [81]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(34) } [82]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(34) } [83]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(34) } [84]=> array(3) { [0]=> int(307) [1]=> string(8) "supports" [2]=> int(34) } [85]=> string(1) "(" [86]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(34) } [87]=> string(1) ")" [88]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(34) } [89]=> string(1) "{" [90]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(35) } [91]=> array(3) { [0]=> int(336) [1]=> string(6) "return" [2]=> int(36) } [92]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(36) } [93]=> string(1) "(" [94]=> array(3) { [0]=> int(307) [1]=> string(6) "is_int" [2]=> int(36) } [95]=> string(1) "(" [96]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(36) } [97]=> string(1) ")" [98]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(36) } [99]=> array(3) { [0]=> int(279) [1]=> string(2) "&&" [2]=> int(36) } [100]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(36) } [101]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(36) } [102]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(36) } [103]=> array(3) { [0]=> int(284) [1]=> string(2) ">=" [2]=> int(36) } [104]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(36) } [105]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(36) } [106]=> string(1) ")" [107]=> string(1) ";" [108]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(36) } [109]=> string(1) "}" [110]=> array(3) { [0]=> int(375) [1]=> string(6) " " [2]=> int(37) } [111]=> array(3) { [0]=> int(371) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(39) } [112]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(39) } [113]=> array(3) { [0]=> int(343) [1]=> string(6) "public" [2]=> int(40) } [114]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(40) } [115]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(40) } [116]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(40) } [117]=> array(3) { [0]=> int(307) [1]=> string(8) "removeAt" [2]=> int(40) } [118]=> string(1) "(" [119]=> array(3) { [0]=> int(307) [1]=> string(4) "File" [2]=> int(40) } [120]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(40) } [121]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(40) } [122]=> string(1) "," [123]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(40) } [124]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(40) } [125]=> string(1) ")" [126]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(40) } [127]=> string(1) "{" [128]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(41) } [129]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(42) } [130]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(42) } [131]=> string(1) "=" [132]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(42) } [133]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(42) } [134]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(42) } [135]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(42) } [136]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(42) } [137]=> array(3) { [0]=> int(307) [1]=> string(4) "from" [2]=> int(42) } [138]=> string(1) "(" [139]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(42) } [140]=> string(1) ")" [141]=> string(1) ";" [142]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(42) } [143]=> array(3) { [0]=> int(350) [1]=> string(5) "unset" [2]=> int(43) } [144]=> string(1) "(" [145]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(43) } [146]=> string(1) "[" [147]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(43) } [148]=> string(1) "]" [149]=> string(1) ")" [150]=> string(1) ";" [151]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(43) } [152]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(44) } [153]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(44) } [154]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(44) } [155]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(44) } [156]=> array(3) { [0]=> int(307) [1]=> string(4) "back" [2]=> int(44) } [157]=> string(1) "(" [158]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(44) } [159]=> string(1) "," [160]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(44) } [161]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(44) } [162]=> string(1) ")" [163]=> string(1) ";" [164]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(44) } [165]=> string(1) "}" [166]=> array(3) { [0]=> int(375) [1]=> string(6) " " [2]=> int(45) } [167]=> array(3) { [0]=> int(371) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(47) } [168]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(47) } [169]=> array(3) { [0]=> int(343) [1]=> string(6) "public" [2]=> int(48) } [170]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(48) } [171]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(48) } [172]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(48) } [173]=> array(3) { [0]=> int(307) [1]=> string(11) "replaceWith" [2]=> int(48) } [174]=> string(1) "(" [175]=> array(3) { [0]=> int(307) [1]=> string(4) "File" [2]=> int(48) } [176]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(48) } [177]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(48) } [178]=> string(1) "," [179]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(48) } [180]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(48) } [181]=> string(1) "," [182]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(48) } [183]=> array(3) { [0]=> int(309) [1]=> string(12) "$replacement" [2]=> int(48) } [184]=> string(1) ")" [185]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(48) } [186]=> string(1) "{" [187]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(49) } [188]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(50) } [189]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(50) } [190]=> string(1) "=" [191]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(50) } [192]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(50) } [193]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(50) } [194]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(50) } [195]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(50) } [196]=> array(3) { [0]=> int(307) [1]=> string(4) "from" [2]=> int(50) } [197]=> string(1) "(" [198]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(50) } [199]=> string(1) ")" [200]=> string(1) ";" [201]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(50) } [202]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(51) } [203]=> string(1) "[" [204]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(51) } [205]=> string(1) "]" [206]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(51) } [207]=> string(1) "=" [208]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(51) } [209]=> array(3) { [0]=> int(309) [1]=> string(12) "$replacement" [2]=> int(51) } [210]=> string(1) ";" [211]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(51) } [212]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(52) } [213]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(52) } [214]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(52) } [215]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(52) } [216]=> array(3) { [0]=> int(307) [1]=> string(4) "back" [2]=> int(52) } [217]=> string(1) "(" [218]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(52) } [219]=> string(1) "," [220]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(52) } [221]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(52) } [222]=> string(1) ")" [223]=> string(1) ";" [224]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(52) } [225]=> string(1) "}" [226]=> array(3) { [0]=> int(375) [1]=> string(6) " " [2]=> int(53) } [227]=> array(3) { [0]=> int(371) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(55) } [228]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(55) } [229]=> array(3) { [0]=> int(343) [1]=> string(6) "public" [2]=> int(56) } [230]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(56) } [231]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(56) } [232]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(56) } [233]=> array(3) { [0]=> int(307) [1]=> string(8) "insertAt" [2]=> int(56) } [234]=> string(1) "(" [235]=> array(3) { [0]=> int(307) [1]=> string(4) "File" [2]=> int(56) } [236]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(56) } [237]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(56) } [238]=> string(1) "," [239]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(56) } [240]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(56) } [241]=> string(1) "," [242]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(56) } [243]=> array(3) { [0]=> int(309) [1]=> string(9) "$addition" [2]=> int(56) } [244]=> string(1) ")" [245]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(56) } [246]=> string(1) "{" [247]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(57) } [248]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(58) } [249]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(58) } [250]=> string(1) "=" [251]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(58) } [252]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(58) } [253]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(58) } [254]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(58) } [255]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(58) } [256]=> array(3) { [0]=> int(307) [1]=> string(4) "from" [2]=> int(58) } [257]=> string(1) "(" [258]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(58) } [259]=> string(1) ")" [260]=> string(1) ";" [261]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(58) } [262]=> array(3) { [0]=> int(307) [1]=> string(12) "array_splice" [2]=> int(59) } [263]=> string(1) "(" [264]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(59) } [265]=> string(1) "," [266]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(59) } [267]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(59) } [268]=> string(1) "," [269]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(59) } [270]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(59) } [271]=> string(1) "," [272]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(59) } [273]=> array(3) { [0]=> int(309) [1]=> string(9) "$addition" [2]=> int(59) } [274]=> string(1) ")" [275]=> string(1) ";" [276]=> array(3) { [0]=> int(375) [1]=> string(9) " " [2]=> int(59) } [277]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(60) } [278]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(60) } [279]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(60) } [280]=> array(3) { [0]=> int(359) [1]=> string(2) "->" [2]=> int(60) } [281]=> array(3) { [0]=> int(307) [1]=> string(4) "back" [2]=> int(60) } [282]=> string(1) "(" [283]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(60) } [284]=> string(1) "," [285]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(60) } [286]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(60) } [287]=> string(1) ")" [288]=> string(1) ";" [289]=> array(3) { [0]=> int(375) [1]=> string(5) " " [2]=> int(60) } [290]=> string(1) "}" [291]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(61) } [292]=> string(1) "}" [293]=> array(3) { [0]=> int(375) [1]=> string(1) " " [2]=> int(62) } }
Output for 5.3.0 - 5.3.29
array(294) { [0]=> array(3) { [0]=> int(368) [1]=> string(6) "<?php " [2]=> int(1) } [1]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(2) } [2]=> array(3) { [0]=> int(366) [1]=> string(238) "/* * This file is part of the Redaktilo project. * * (c) Loïc Chardonnet <loic.chardonnet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */" [2]=> int(3) } [3]=> array(3) { [0]=> int(371) [1]=> string(2) " " [2]=> int(10) } [4]=> array(3) { [0]=> int(377) [1]=> string(9) "namespace" [2]=> int(12) } [5]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(12) } [6]=> array(3) { [0]=> int(307) [1]=> string(6) "Gnugat" [2]=> int(12) } [7]=> array(3) { [0]=> int(380) [1]=> string(1) "\" [2]=> int(12) } [8]=> array(3) { [0]=> int(307) [1]=> string(9) "Redaktilo" [2]=> int(12) } [9]=> array(3) { [0]=> int(380) [1]=> string(1) "\" [2]=> int(12) } [10]=> array(3) { [0]=> int(307) [1]=> string(7) "Replace" [2]=> int(12) } [11]=> string(1) ";" [12]=> array(3) { [0]=> int(371) [1]=> string(2) " " [2]=> int(12) } [13]=> array(3) { [0]=> int(340) [1]=> string(3) "use" [2]=> int(14) } [14]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(14) } [15]=> array(3) { [0]=> int(307) [1]=> string(6) "Gnugat" [2]=> int(14) } [16]=> array(3) { [0]=> int(380) [1]=> string(1) "\" [2]=> int(14) } [17]=> array(3) { [0]=> int(307) [1]=> string(9) "Redaktilo" [2]=> int(14) } [18]=> array(3) { [0]=> int(380) [1]=> string(1) "\" [2]=> int(14) } [19]=> array(3) { [0]=> int(307) [1]=> string(9) "Converter" [2]=> int(14) } [20]=> array(3) { [0]=> int(380) [1]=> string(1) "\" [2]=> int(14) } [21]=> array(3) { [0]=> int(307) [1]=> string(20) "LineContentConverter" [2]=> int(14) } [22]=> string(1) ";" [23]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(14) } [24]=> array(3) { [0]=> int(340) [1]=> string(3) "use" [2]=> int(15) } [25]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(15) } [26]=> array(3) { [0]=> int(307) [1]=> string(6) "Gnugat" [2]=> int(15) } [27]=> array(3) { [0]=> int(380) [1]=> string(1) "\" [2]=> int(15) } [28]=> array(3) { [0]=> int(307) [1]=> string(9) "Redaktilo" [2]=> int(15) } [29]=> array(3) { [0]=> int(380) [1]=> string(1) "\" [2]=> int(15) } [30]=> array(3) { [0]=> int(307) [1]=> string(4) "File" [2]=> int(15) } [31]=> string(1) ";" [32]=> array(3) { [0]=> int(371) [1]=> string(2) " " [2]=> int(15) } [33]=> array(3) { [0]=> int(367) [1]=> string(93) "/** * This strategy manipulates lines stripped of their line break character. * * @api */" [2]=> int(17) } [34]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(21) } [35]=> array(3) { [0]=> int(353) [1]=> string(5) "class" [2]=> int(22) } [36]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(22) } [37]=> array(3) { [0]=> int(307) [1]=> string(19) "LineReplaceStrategy" [2]=> int(22) } [38]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(22) } [39]=> array(3) { [0]=> int(356) [1]=> string(10) "implements" [2]=> int(22) } [40]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(22) } [41]=> array(3) { [0]=> int(307) [1]=> string(15) "ReplaceStrategy" [2]=> int(22) } [42]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(22) } [43]=> string(1) "{" [44]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(23) } [45]=> array(3) { [0]=> int(367) [1]=> string(32) "/** @var LineContentConverter */" [2]=> int(24) } [46]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(24) } [47]=> array(3) { [0]=> int(344) [1]=> string(7) "private" [2]=> int(25) } [48]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(25) } [49]=> array(3) { [0]=> int(309) [1]=> string(10) "$converter" [2]=> int(25) } [50]=> string(1) ";" [51]=> array(3) { [0]=> int(371) [1]=> string(6) " " [2]=> int(25) } [52]=> array(3) { [0]=> int(367) [1]=> string(34) "/** @param LineContentConverter */" [2]=> int(27) } [53]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(27) } [54]=> array(3) { [0]=> int(342) [1]=> string(6) "public" [2]=> int(28) } [55]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(28) } [56]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(28) } [57]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(28) } [58]=> array(3) { [0]=> int(307) [1]=> string(11) "__construct" [2]=> int(28) } [59]=> string(1) "(" [60]=> array(3) { [0]=> int(307) [1]=> string(20) "LineContentConverter" [2]=> int(28) } [61]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(28) } [62]=> array(3) { [0]=> int(309) [1]=> string(10) "$converter" [2]=> int(28) } [63]=> string(1) ")" [64]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(28) } [65]=> string(1) "{" [66]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(29) } [67]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(30) } [68]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(30) } [69]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(30) } [70]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(30) } [71]=> string(1) "=" [72]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(30) } [73]=> array(3) { [0]=> int(309) [1]=> string(10) "$converter" [2]=> int(30) } [74]=> string(1) ";" [75]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(30) } [76]=> string(1) "}" [77]=> array(3) { [0]=> int(371) [1]=> string(6) " " [2]=> int(31) } [78]=> array(3) { [0]=> int(367) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(33) } [79]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(33) } [80]=> array(3) { [0]=> int(342) [1]=> string(6) "public" [2]=> int(34) } [81]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(34) } [82]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(34) } [83]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(34) } [84]=> array(3) { [0]=> int(307) [1]=> string(8) "supports" [2]=> int(34) } [85]=> string(1) "(" [86]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(34) } [87]=> string(1) ")" [88]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(34) } [89]=> string(1) "{" [90]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(35) } [91]=> array(3) { [0]=> int(336) [1]=> string(6) "return" [2]=> int(36) } [92]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(36) } [93]=> string(1) "(" [94]=> array(3) { [0]=> int(307) [1]=> string(6) "is_int" [2]=> int(36) } [95]=> string(1) "(" [96]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(36) } [97]=> string(1) ")" [98]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(36) } [99]=> array(3) { [0]=> int(279) [1]=> string(2) "&&" [2]=> int(36) } [100]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(36) } [101]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(36) } [102]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(36) } [103]=> array(3) { [0]=> int(284) [1]=> string(2) ">=" [2]=> int(36) } [104]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(36) } [105]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(36) } [106]=> string(1) ")" [107]=> string(1) ";" [108]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(36) } [109]=> string(1) "}" [110]=> array(3) { [0]=> int(371) [1]=> string(6) " " [2]=> int(37) } [111]=> array(3) { [0]=> int(367) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(39) } [112]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(39) } [113]=> array(3) { [0]=> int(342) [1]=> string(6) "public" [2]=> int(40) } [114]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(40) } [115]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(40) } [116]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(40) } [117]=> array(3) { [0]=> int(307) [1]=> string(8) "removeAt" [2]=> int(40) } [118]=> string(1) "(" [119]=> array(3) { [0]=> int(307) [1]=> string(4) "File" [2]=> int(40) } [120]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(40) } [121]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(40) } [122]=> string(1) "," [123]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(40) } [124]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(40) } [125]=> string(1) ")" [126]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(40) } [127]=> string(1) "{" [128]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(41) } [129]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(42) } [130]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(42) } [131]=> string(1) "=" [132]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(42) } [133]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(42) } [134]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(42) } [135]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(42) } [136]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(42) } [137]=> array(3) { [0]=> int(307) [1]=> string(4) "from" [2]=> int(42) } [138]=> string(1) "(" [139]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(42) } [140]=> string(1) ")" [141]=> string(1) ";" [142]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(42) } [143]=> array(3) { [0]=> int(349) [1]=> string(5) "unset" [2]=> int(43) } [144]=> string(1) "(" [145]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(43) } [146]=> string(1) "[" [147]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(43) } [148]=> string(1) "]" [149]=> string(1) ")" [150]=> string(1) ";" [151]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(43) } [152]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(44) } [153]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(44) } [154]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(44) } [155]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(44) } [156]=> array(3) { [0]=> int(307) [1]=> string(4) "back" [2]=> int(44) } [157]=> string(1) "(" [158]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(44) } [159]=> string(1) "," [160]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(44) } [161]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(44) } [162]=> string(1) ")" [163]=> string(1) ";" [164]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(44) } [165]=> string(1) "}" [166]=> array(3) { [0]=> int(371) [1]=> string(6) " " [2]=> int(45) } [167]=> array(3) { [0]=> int(367) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(47) } [168]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(47) } [169]=> array(3) { [0]=> int(342) [1]=> string(6) "public" [2]=> int(48) } [170]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(48) } [171]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(48) } [172]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(48) } [173]=> array(3) { [0]=> int(307) [1]=> string(11) "replaceWith" [2]=> int(48) } [174]=> string(1) "(" [175]=> array(3) { [0]=> int(307) [1]=> string(4) "File" [2]=> int(48) } [176]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(48) } [177]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(48) } [178]=> string(1) "," [179]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(48) } [180]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(48) } [181]=> string(1) "," [182]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(48) } [183]=> array(3) { [0]=> int(309) [1]=> string(12) "$replacement" [2]=> int(48) } [184]=> string(1) ")" [185]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(48) } [186]=> string(1) "{" [187]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(49) } [188]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(50) } [189]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(50) } [190]=> string(1) "=" [191]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(50) } [192]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(50) } [193]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(50) } [194]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(50) } [195]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(50) } [196]=> array(3) { [0]=> int(307) [1]=> string(4) "from" [2]=> int(50) } [197]=> string(1) "(" [198]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(50) } [199]=> string(1) ")" [200]=> string(1) ";" [201]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(50) } [202]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(51) } [203]=> string(1) "[" [204]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(51) } [205]=> string(1) "]" [206]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(51) } [207]=> string(1) "=" [208]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(51) } [209]=> array(3) { [0]=> int(309) [1]=> string(12) "$replacement" [2]=> int(51) } [210]=> string(1) ";" [211]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(51) } [212]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(52) } [213]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(52) } [214]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(52) } [215]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(52) } [216]=> array(3) { [0]=> int(307) [1]=> string(4) "back" [2]=> int(52) } [217]=> string(1) "(" [218]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(52) } [219]=> string(1) "," [220]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(52) } [221]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(52) } [222]=> string(1) ")" [223]=> string(1) ";" [224]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(52) } [225]=> string(1) "}" [226]=> array(3) { [0]=> int(371) [1]=> string(6) " " [2]=> int(53) } [227]=> array(3) { [0]=> int(367) [1]=> string(20) "/** {@inheritdoc} */" [2]=> int(55) } [228]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(55) } [229]=> array(3) { [0]=> int(342) [1]=> string(6) "public" [2]=> int(56) } [230]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(56) } [231]=> array(3) { [0]=> int(334) [1]=> string(8) "function" [2]=> int(56) } [232]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(56) } [233]=> array(3) { [0]=> int(307) [1]=> string(8) "insertAt" [2]=> int(56) } [234]=> string(1) "(" [235]=> array(3) { [0]=> int(307) [1]=> string(4) "File" [2]=> int(56) } [236]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(56) } [237]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(56) } [238]=> string(1) "," [239]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(56) } [240]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(56) } [241]=> string(1) "," [242]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(56) } [243]=> array(3) { [0]=> int(309) [1]=> string(9) "$addition" [2]=> int(56) } [244]=> string(1) ")" [245]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(56) } [246]=> string(1) "{" [247]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(57) } [248]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(58) } [249]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(58) } [250]=> string(1) "=" [251]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(58) } [252]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(58) } [253]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(58) } [254]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(58) } [255]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(58) } [256]=> array(3) { [0]=> int(307) [1]=> string(4) "from" [2]=> int(58) } [257]=> string(1) "(" [258]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(58) } [259]=> string(1) ")" [260]=> string(1) ";" [261]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(58) } [262]=> array(3) { [0]=> int(307) [1]=> string(12) "array_splice" [2]=> int(59) } [263]=> string(1) "(" [264]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(59) } [265]=> string(1) "," [266]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(59) } [267]=> array(3) { [0]=> int(309) [1]=> string(9) "$location" [2]=> int(59) } [268]=> string(1) "," [269]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(59) } [270]=> array(3) { [0]=> int(305) [1]=> string(1) "0" [2]=> int(59) } [271]=> string(1) "," [272]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(59) } [273]=> array(3) { [0]=> int(309) [1]=> string(9) "$addition" [2]=> int(59) } [274]=> string(1) ")" [275]=> string(1) ";" [276]=> array(3) { [0]=> int(371) [1]=> string(9) " " [2]=> int(59) } [277]=> array(3) { [0]=> int(309) [1]=> string(5) "$this" [2]=> int(60) } [278]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(60) } [279]=> array(3) { [0]=> int(307) [1]=> string(9) "converter" [2]=> int(60) } [280]=> array(3) { [0]=> int(357) [1]=> string(2) "->" [2]=> int(60) } [281]=> array(3) { [0]=> int(307) [1]=> string(4) "back" [2]=> int(60) } [282]=> string(1) "(" [283]=> array(3) { [0]=> int(309) [1]=> string(5) "$file" [2]=> int(60) } [284]=> string(1) "," [285]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(60) } [286]=> array(3) { [0]=> int(309) [1]=> string(6) "$lines" [2]=> int(60) } [287]=> string(1) ")" [288]=> string(1) ";" [289]=> array(3) { [0]=> int(371) [1]=> string(5) " " [2]=> int(60) } [290]=> string(1) "}" [291]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(61) } [292]=> string(1) "}" [293]=> array(3) { [0]=> int(371) [1]=> string(1) " " [2]=> int(62) } }
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_SL in /in/KCNSO on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_SL in /in/KCNSO on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/KCNSO on line 3
Process exited with code 255.