M
M
MrJobs2020-05-05 02:24:32
PHP
MrJobs, 2020-05-05 02:24:32

How to find the last line in a file?

Welcome all!
Tell me, please, how can I find the last line in the file
Select from this line the last value in our example is => 0 And
save the
whole thing 23:10.11.134.22 05/04 23:10.8.0

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2020-05-05
@glaphire

Example solution based on fseek

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question