3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php openssl_get_publickey('-----BEGIN RSA PRIVATE KEY----- MIICWwIBAAKBgQCDGCwMqcI6b0VUr7cMH+Rm+cwlPvkpCUJZu4Ntk1aUc76xYtem+/R29CsyQaiw GYGsnsw70BFSgbz7Pdv5R5q6SleuMxrLxvPDxoWW5M1pl1jGE0sV9dmNXWJm2VhMzdnLoLGFFSi5 03Og8nLobFsbkytd8uKZ0ZT6TALI67HlBQIDAQABAoGAG7IAIF6+22SFk6oZtFSKhtzQLbA7qFk9 7MIqNnyRpoQ7bbNRlwQUtgrIk3H+ptGErUjRIfPHrRQerj932RaxD8eXZ4oBKuGjwsHt+hsh+x6F Z1rV9q2qXZCDz+CSaEBCdwBv1yPJyEBKhINqN+p2slWDU3bpz1IaJFzyIlQnn3MCQQCDn7D8G1vG N+jTmrWPFvNKMeNwcycAzJhobPenB4S8G8CW7ESC1dzHLorchuV1znwif/gxcK7kTcdoBPou/eyD AkEA/vhsbFZCH8QouPm6EdzqiYegQz7bPqhU0bqQoNB5n5eBcG24ZGDJGJtYOYnE9Ez8G1+P6GqV CMhGxlMdP6FB1wJAQj2dvmKuXyVIASY89RQhwFc3FSJ+oIJWuUcNo3u/K0P0OoARQp8Kixs7OxyQ YidWha5NY+RHwBH8prbKide0rQJAFddWAlnJREtbaa0KwWj5NlrF4bzKry1gRq8CoKP7Jy6lSeo8 N20LDO6RuiwRERRfLEEdZL1sktoFJgwMn1zC9QJAJumaEF/b86FFQfRrAhc7vOWHUcwXs98P2Y9u /JpqhdQYz/41GMhW2pOSp2FmOGNlJxHE0JS+0tbu5mOrSzo6/w== -----END RSA PRIVATE KEY-----'); echo openssl_error_string();
Output for 5.4.15 - 7.1.0
error:0906D06C:PEM routines:PEM_read_bio:no start line
Output for 5.0.0 - 5.4.14
Fatal error: Call to undefined function openssl_get_publickey() in /in/XG29L on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: openssl_get_publickey() in /in/XG29L on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: openssl_get_publickey() in /in/XG29L on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: openssl_get_publickey() in /in/XG29L on line 2