Skip to content

Instantly share code, notes, and snippets.

@DOlDNa
DOlDNa / php.php.tags
Last active February 17, 2022 08:15
php.php.tags @geany @twbs @KinagaCMS
accordion-body|||
accordion-button|||
accordion-collapse|||
accordion-flush|||
accordion-header|||
accordion-item|||
active|||
alert|||
alert-danger|||
alert-dark|||
[PHP]
if=if (%cursor%)%block_cursor%
else=else%block_cursor%
for=for ($i=0, $c=count(%cursor%); $i < %cursor%; ++$i)%brace_open%\n%brace_close%
func=function %cursor%(%cursor%)%brace_open%\n\treturn\n%brace_close%
while=while (%cursor%)%block_cursor%
do=do\n{\n\t%cursor%\n} while (%cursor%)\n
switch=switch (%cursor%)%brace_open%case %cursor%: %cursor%; break;\n\tdefault:\n\t\t%cursor%\n%brace_close%%cursor%
try=try%block%\ncatch (%cursor%)%block_cursor%
fil=filter_input(INPUT_POST, '%cursor%', FILTER_SANITIZE_STRING)
<!doctype html>
<html lang=ja>
<head>
<meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1">
<title>Responsive background-image β</title>
<style>
<?
foreach( base64_jpeg() as $classname => $data ) {
if ( list( $width, $height ) = getimagesizefromstring( base64_decode( $data ) ) ) {