I want to display the list of cipher suites (and other information sent during handshake) that the client sends using PHP.

Similar to what is printed by https://www.mikestoolbox.org/ I was wondering how to do this. I didn't see any option to list the cipher suites via environment variables (mod_ssl). Do I have to get it via some other means? I would appreciate a nudge in the right direction.