Skip to content

Instantly share code, notes, and snippets.

<?php
namespace Some\NS;
class Helol extends NS
{
protected $helol = 'Helol!';
public function helol()
{
In file included from /tmp/pear/temp/APC/apc.c:44:
/usr/include/php5/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory
In file included from /tmp/pear/temp/APC/apc.c:44:
/usr/include/php5/ext/pcre/php_pcre.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/php5/ext/pcre/php_pcre.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/include/php5/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before ‘pcre’
/tmp/pear/temp/APC/apc.c:393: error: expected specifier-qualifier-list before ‘pcre’
/tmp/pear/temp/APC/apc.c: In function ‘apc_regex_compile_array’:
/tmp/pear/temp/APC/apc.c:454: error: ‘apc_regex’ has no member named ‘preg’
/tmp/pear/temp/APC/apc.c:454: error: ‘apc_regex’ has no member named ‘preg’
ADDRESS0=192.168.30.0
NETMASK0=255.255.255.0
GATEWAY0=192.168.4.254
<?php
namespace My\Namepsace;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class Class
if($_REQUEST['changepassword'] == 'true')
{
$focus->retrieve_entity_info($_REQUEST['record'],'Users');
$focus->id = $_REQUEST['record'];
if (isset($_POST['new_password'])) {
$new_pass = $_POST['new_password'];
$new_passwd = $_POST['new_password'];
$new_pass = md5($new_pass);
$old_pass = $_POST['old_password'];
$uname = $_POST['user_name'];
* @ManyToMany(targetEntity="Contact")
* @JoinTable(name="contacts_lists",
* joinColumns={@JoinColumn(name="contact_id", referencedColumnName="id")},
* inverseJoinColumns{@JoinColumn(name="list_id", referencedColumnName="id")}
* )
*/
@ls12styler
ls12styler / 0_reuse_code.js
Created July 7, 2016 08:42
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ls12styler
ls12styler / Dockerfile
Last active December 27, 2017 11:09 — forked from ianjuma/Dockerfile
Scala dockerfile
#
# Scala and sbt Dockerfile
#
# https://github.com/hseeberger/scala-sbt
#
# Pull base image
FROM java:8
ENV SCALA_VERSION 2.11.8
+--------------------------------------------------------+-------------+
|Expense Type |total |
+--------------------------------------------------------+-------------+
|R & D Other Professional Services |665,494.58 |
|R & D Printing and Stationery |0.00 |
|Technical Advice / Services & Support |94,080.00 |
|R & D Taxi Services Overseas |967.04 |
|Consultancy Expenditure |23,048.20 |
|R & D Other Staff Welfare Costs |37.50 |
|R & D Other Travel |3,771.03 |
...
orderedData.explain
...