<?php
function lint($code)
{
$code = strpos($code, '<?php') === 0 ? $code : "<?php $code";
$filename = tempnam(sys_get_temp_dir(), 'lnt');
file_put_contents($filename, $code);
exec("php -l $filename", $errors);
return $errors;
}
print_r( lint('echo "world"; } ') );
- Output for 8.3.6
- Warning: exec(): Unable to fork [php -l /tmp/lntE7suCu] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.3.5
- Warning: exec(): Unable to fork [php -l /tmp/lnttRNRI6] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.3.4
- Warning: exec(): Unable to fork [php -l /tmp/lntbqseHj] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.3.3
- Warning: exec(): Unable to fork [php -l /tmp/lntOTLYMV] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.3.2
- Warning: exec(): Unable to fork [php -l /tmp/lntSU1uZ9] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.3.1
- Warning: exec(): Unable to fork [php -l /tmp/lntXCiXlA] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.3.0
- Warning: exec(): Unable to fork [php -l /tmp/lntlh4d3m] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.18
- Warning: exec(): Unable to fork [php -l /tmp/lntPBughU] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.17
- Warning: exec(): Unable to fork [php -l /tmp/lntgwqNrC] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.16
- Warning: exec(): Unable to fork [php -l /tmp/lntBC7L0q] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.15
- Warning: exec(): Unable to fork [php -l /tmp/lnte9y63y] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.14
- Warning: exec(): Unable to fork [php -l /tmp/lntuYXJlh] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.13
- Warning: exec(): Unable to fork [php -l /tmp/lntNfjyq4] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.12
- Warning: exec(): Unable to fork [php -l /tmp/lntvukvie] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.11
- Warning: exec(): Unable to fork [php -l /tmp/lntiAszdG] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.10
- Warning: exec(): Unable to fork [php -l /tmp/lnt0hvInT] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.9
- Warning: exec(): Unable to fork [php -l /tmp/lnto7xgA1] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.8
- Warning: exec(): Unable to fork [php -l /tmp/lntD13vIf] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.7
- Warning: exec(): Unable to fork [php -l /tmp/lntVln89p] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.6
- Warning: exec(): Unable to fork [php -l /tmp/lntUxrDiM] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.5
- Warning: exec(): Unable to fork [php -l /tmp/lntzINEBv] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.4
- Warning: exec(): Unable to fork [php -l /tmp/lntuwnOhK] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.3
- Warning: exec(): Unable to fork [php -l /tmp/lntqrI2U5] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.2
- Warning: exec(): Unable to fork [php -l /tmp/lntafDwf9] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.1
- Warning: exec(): Unable to fork [php -l /tmp/lntsALwxx] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.2.0
- Warning: exec(): Unable to fork [php -l /tmp/lnt3XEJ6q] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.28
- Warning: exec(): Unable to fork [php -l /tmp/lnts9sxPC] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.27
- Warning: exec(): Unable to fork [php -l /tmp/lntHDKTkk] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.26
- Warning: exec(): Unable to fork [php -l /tmp/lntTpBgEZ] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.25
- Warning: exec(): Unable to fork [php -l /tmp/lntZZU0FN] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.24
- Warning: exec(): Unable to fork [php -l /tmp/lntskhkxM] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.23
- Warning: exec(): Unable to fork [php -l /tmp/lntFbAS7V] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.22
- Warning: exec(): Unable to fork [php -l /tmp/lntFgWeBw] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.21
- Warning: exec(): Unable to fork [php -l /tmp/lntiy1oZm] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.20
- Warning: exec(): Unable to fork [php -l /tmp/lntsLhV9u] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.19
- Warning: exec(): Unable to fork [php -l /tmp/lntliQwwZ] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.18
- Warning: exec(): Unable to fork [php -l /tmp/lntfeF0hH] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.17
- Warning: exec(): Unable to fork [php -l /tmp/lntr4dy5c] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.16
- Warning: exec(): Unable to fork [php -l /tmp/lntlUg0y2] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.15
- Warning: exec(): Unable to fork [php -l /tmp/lntfzSfgL] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.14
- Warning: exec(): Unable to fork [php -l /tmp/lnt8yuVUY] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.13
- Warning: exec(): Unable to fork [php -l /tmp/lntSitO5Y] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.12
- Warning: exec(): Unable to fork [php -l /tmp/lntG5fTeK] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.11
- Warning: exec(): Unable to fork [php -l /tmp/lnt2OSGIT] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.10
- Warning: exec(): Unable to fork [php -l /tmp/lntU7zBhk] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.9
- Warning: exec(): Unable to fork [php -l /tmp/lntNNu4TP] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.8
- Warning: exec(): Unable to fork [php -l /tmp/lntogt3Vw] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.7
- Warning: exec(): Unable to fork [php -l /tmp/lntQjDJXN] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.6
- Warning: exec(): Unable to fork [php -l /tmp/lnt6kRwRB] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.5
- Warning: exec(): Unable to fork [php -l /tmp/lntMpeFKQ] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.4
- Warning: exec(): Unable to fork [php -l /tmp/lnthLPHRG] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.3
- Warning: exec(): Unable to fork [php -l /tmp/lntiuuJfk] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.2
- Warning: exec(): Unable to fork [php -l /tmp/lnthzHOgK] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.1
- Warning: exec(): Unable to fork [php -l /tmp/lntmNqj53] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.1.0
- Warning: exec(): Unable to fork [php -l /tmp/lntzISOYT] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.30
- Warning: exec(): Unable to fork [php -l /tmp/lntMo3eNp] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.29
- Warning: exec(): Unable to fork [php -l /tmp/lnt5njXFf] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.28
- Warning: exec(): Unable to fork [php -l /tmp/lntipJU5A] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.27
- Warning: exec(): Unable to fork [php -l /tmp/lntijqquo] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.26
- Warning: exec(): Unable to fork [php -l /tmp/lntHAG8sH] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.25
- Warning: exec(): Unable to fork [php -l /tmp/lntRmQqLU] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.24
- Warning: exec(): Unable to fork [php -l /tmp/lntAiFVZl] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.23
- Warning: exec(): Unable to fork [php -l /tmp/lntOmtzZL] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.22
- Warning: exec(): Unable to fork [php -l /tmp/lntLDQfGF] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.21
- Warning: exec(): Unable to fork [php -l /tmp/lntvZM94g] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.20
- Warning: exec(): Unable to fork [php -l /tmp/lntYSJd9S] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.19
- Warning: exec(): Unable to fork [php -l /tmp/lntMU1kZ3] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.18
- Warning: exec(): Unable to fork [php -l /tmp/lntKS0G97] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.17
- Warning: exec(): Unable to fork [php -l /tmp/lnt0s82th] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.16
- Warning: exec(): Unable to fork [php -l /tmp/lntGpQ9Wc] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.15
- Warning: exec(): Unable to fork [php -l /tmp/lntRfJ7Oq] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.14
- Warning: exec(): Unable to fork [php -l /tmp/lntXIwWbZ] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.13
- Warning: exec(): Unable to fork [php -l /tmp/lntBdaUbB] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.12
- Warning: exec(): Unable to fork [php -l /tmp/lntH5Dd7b] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.11
- Warning: exec(): Unable to fork [php -l /tmp/lntx9DOM7] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.10
- Warning: exec(): Unable to fork [php -l /tmp/lntySo1mh] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.9
- Warning: exec(): Unable to fork [php -l /tmp/lntkPR3i7] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.8
- Warning: exec(): Unable to fork [php -l /tmp/lntldC8sJ] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.7
- Warning: exec(): Unable to fork [php -l /tmp/lnt9dcA8X] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.6
- Warning: exec(): Unable to fork [php -l /tmp/lntqYx2ST] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.5
- Warning: exec(): Unable to fork [php -l /tmp/lnt89uKU9] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.3
- Warning: exec(): Unable to fork [php -l /tmp/lntwnF6ni] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.2
- Warning: exec(): Unable to fork [php -l /tmp/lnt33XMNF] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.1
- Warning: exec(): Unable to fork [php -l /tmp/lntwl3Iwk] in /in/pjGf4 on line 7
Array
(
)
- Output for 8.0.0
- Warning: exec(): Unable to fork [php -l /tmp/lntxtGjXE] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.33
- Warning: exec(): Unable to fork [php -l /tmp/lntUVeRBU] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.32
- Warning: exec(): Unable to fork [php -l /tmp/lntAAHsJ3] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.30
- Warning: exec(): Unable to fork [php -l /tmp/lntlmj9gn] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.29
- Warning: exec(): Unable to fork [php -l /tmp/lntFVev1J] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.28
- Warning: exec(): Unable to fork [php -l /tmp/lntngN5Tv] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.27
- Warning: exec(): Unable to fork [php -l /tmp/lntNPNjn4] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.26
- Warning: exec(): Unable to fork [php -l /tmp/lntjlKQDJ] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.25
- Warning: exec(): Unable to fork [php -l /tmp/lntnewTHy] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.24
- Warning: exec(): Unable to fork [php -l /tmp/lnt0RoT8D] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.23
- Warning: exec(): Unable to fork [php -l /tmp/lntZlcwUi] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.22
- Warning: exec(): Unable to fork [php -l /tmp/lntU9wQ9Y] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.21
- Warning: exec(): Unable to fork [php -l /tmp/lntDGIJfJ] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.20
- Warning: exec(): Unable to fork [php -l /tmp/lntoJogNe] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.19
- Warning: exec(): Unable to fork [php -l /tmp/lnt6FAMKK] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.16
- Warning: exec(): Unable to fork [php -l /tmp/lnt7kGiud] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.15
- Warning: exec(): Unable to fork [php -l /tmp/lntPONZ5Z] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.14
- Warning: exec(): Unable to fork [php -l /tmp/lntoIrUOJ] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.13
- Warning: exec(): Unable to fork [php -l /tmp/lntiI3a8Y] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.12
- Warning: exec(): Unable to fork [php -l /tmp/lntqh1QQp] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.11
- Warning: exec(): Unable to fork [php -l /tmp/lnt5TEIXX] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.10
- Warning: exec(): Unable to fork [php -l /tmp/lntpvt53i] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.9
- Warning: exec(): Unable to fork [php -l /tmp/lntZDFjY0] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.8
- Warning: exec(): Unable to fork [php -l /tmp/lntxAIlEw] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.7
- Warning: exec(): Unable to fork [php -l /tmp/lntuNYQyU] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.6
- Warning: exec(): Unable to fork [php -l /tmp/lnt1TT5Dt] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.5
- Warning: exec(): Unable to fork [php -l /tmp/lntAfE0iv] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.4
- Warning: exec(): Unable to fork [php -l /tmp/lnt2S3tKx] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.4.3
- Warning: exec(): Unable to fork [php -l /tmp/lntW5dzao] in /in/pjGf4 on line 7
Array
(
)
- Output for 5.2.1 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.37, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
- Array
(
)
- Output for 7.3.33
- Warning: exec(): Unable to fork [php -l /tmp/lntUY4IoW] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.32
- Warning: exec(): Unable to fork [php -l /tmp/lntU8U74A] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.31
- Warning: exec(): Unable to fork [php -l /tmp/lntn1UpXQ] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.30
- Warning: exec(): Unable to fork [php -l /tmp/lnttouXv3] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.29
- Warning: exec(): Unable to fork [php -l /tmp/lntVJAFFe] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.28
- Warning: exec(): Unable to fork [php -l /tmp/lntfzolmj] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.27
- Warning: exec(): Unable to fork [php -l /tmp/lntX65k7Q] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.26
- Warning: exec(): Unable to fork [php -l /tmp/lntUk9X8O] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.25
- Warning: exec(): Unable to fork [php -l /tmp/lntyptLEo] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.24
- Warning: exec(): Unable to fork [php -l /tmp/lntVXNLuc] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.23
- Warning: exec(): Unable to fork [php -l /tmp/lntEx3u3Q] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.21
- Warning: exec(): Unable to fork [php -l /tmp/lntezVe4K] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.20
- Warning: exec(): Unable to fork [php -l /tmp/lnt0Arjwu] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.19
- Warning: exec(): Unable to fork [php -l /tmp/lnt7msyho] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.18
- Warning: exec(): Unable to fork [php -l /tmp/lntlqoLMD] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.17
- Warning: exec(): Unable to fork [php -l /tmp/lntN2pc0t] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.3.16
- Warning: exec(): Unable to fork [php -l /tmp/lntP36oVJ] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.2.33
- Warning: exec(): Unable to fork [php -l /tmp/lntuUpDGT] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.2.32
- Warning: exec(): Unable to fork [php -l /tmp/lnt28DTEb] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.2.31
- Warning: exec(): Unable to fork [php -l /tmp/lntY02rY1] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.2.30
- Warning: exec(): Unable to fork [php -l /tmp/lntQH3rTa] in /in/pjGf4 on line 7
Array
(
)
- Output for 7.2.29
- Warning: exec(): Unable to fork [php -l /tmp/lntyIysc7] in /in/pjGf4 on line 7
Array
(
)
- Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0
- Fatal error: Call to undefined function sys_get_temp_dir() in /in/pjGf4 on line 5
Process exited with code 255. - Output for 4.4.5 - 4.4.9
- Fatal error: Call to undefined function: sys_get_temp_dir() in /in/pjGf4 on line 5
Process exited with code 255. - Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
- Fatal error: Call to undefined function: sys_get_temp_dir() in /in/pjGf4 on line 5
Process exited with code 255. - Output for 4.3.0 - 4.3.1
- Fatal error: Call to undefined function: sys_get_temp_dir() in /in/pjGf4 on line 5
preferences:
288.68 ms | 401 KiB | 378 Q