Skip to main content

Timeline for Alphabet Pattern Matching

Current License: CC BY-SA 3.0

2 events
when toggle format what by license comment
Nov 5, 2016 at 13:02 comment added Titus 1) unnecessary quotes: "substr", $_GET["n"], "Y" (-6). 2) $x[$n]."\n" -> "$x[$n]\n", analogue for $u (-2). 3) I´m pretty sure you can use some sort of > for your <number>==$l comparisons (-4). 4) ($n=0;$n<...;$n++) -> ($n=-1;++$n<...;) (-1). 5) if($o) is unnecessary: if $o is empty, so is strrev($o) and any of its substrings, so nothing will be printed (-6). 6) && -> & (-1). 7) Do you really need empty string instead of null for substr? $x[$n]??"" --> $x[$n] (-4)?
Oct 28, 2016 at 22:05 history answered Jörg Hülsermann CC BY-SA 3.0