Created
December 3, 2012 15:53
-
-
Save vstarck/4195901 to your computer and use it in GitHub Desktop.
mage_complexity2.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach (/* ... */) { | |
if (/* ... */) { | |
if (/* ... */) { | |
if (/* ... */) { | |
// ... | |
} else { | |
if (/* ... */) { | |
// ... | |
} else { | |
// ... | |
} | |
if (/* ... */) { | |
if (/* ... */) { | |
// ... | |
} | |
} | |
} | |
foreach (/* ... */) { | |
// ... | |
} | |
} else { | |
// ... | |
if (/* ... */) { | |
if (/* ... */) { | |
// ... | |
foreach (/* ... */) { | |
// ... | |
if (/* ... */) { | |
// ... | |
} | |
} | |
// ... | |
} else { | |
// ... | |
} | |
} | |
} | |
} | |
if (/* ... */) { | |
if (/* ... */) { | |
if (/* ... */) { | |
// ... | |
} else { | |
// ... | |
} | |
} | |
if (/* ... */) { | |
// ... | |
if (/* ... */) { | |
// ... | |
} | |
} | |
} | |
if (/* ... */) { | |
if (/* ... */) { | |
// ... | |
if (/* ... */) { | |
// ... | |
} | |
} else { | |
// ... | |
if (/* ... */) { | |
/* ... */ = /* ... */ | |
? /* ... */ | |
: /* ... */; | |
} | |
} | |
} | |
if (/* ... */) { | |
// ... | |
if (/* ... */) { | |
/* ... */ = /* ... */ | |
? /* ... */ | |
: /* ... */; | |
} | |
} | |
// ... | |
} |
La mayoria con regex y un par a mano
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cómo realizaste las sustituciones entre código y la cadena "/* ... */" - con alguna herramienta sofisticada o simplemente armado de ira y frustración? jajaja