Last active
May 14, 2019 05:01
-
-
Save rogeriopradoj/75a7e8ba3f58734c8510bd8f42d3e335 to your computer and use it in GitHub Desktop.
Jupyter-PHP-exemplo.ipynb - Artigo: Notebooks Jupyter em PHP, além do Python? Sim, é possível: veja como fazer!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/plain": [ | |
"Olá de um notebook usando PHP!\n" | |
] | |
}, | |
"execution_count": 2, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"echo 'Olá de um notebook usando PHP!';" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 4, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/plain": [ | |
"Versão do PHP:\n" | |
] | |
}, | |
"execution_count": 4, | |
"metadata": {}, | |
"output_type": "execute_result" | |
}, | |
{ | |
"data": { | |
"text/plain": [ | |
"\"7.2.7\"" | |
] | |
}, | |
"execution_count": 4, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"echo 'Versão do PHP:';\n", | |
"phpversion();" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": {}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "PHP", | |
"language": "php", | |
"name": "jupyter-php" | |
}, | |
"language_info": { | |
"file_extension": ".php", | |
"mimetype": "text/x-php", | |
"name": "PHP", | |
"pygments_lexer": "PHP", | |
"version": "7.2.7" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment