3v4l.org

run code in 300+ PHP versions simultaneously
<?php ?php $foo = new \stdClass(); $foosoap = new \SoapVar($foo, SOAP_ENC_OBJECT, 'Foo', 'typns', 'tag', 'tagns'); var_dump($foosoap); echo $foosoap->enc_stype; echo get_class($foosoap->enc_value);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.10.0030.04720.26
7.0.00.0030.04720.12
5.6.160.0130.04020.70
5.6.150.0130.07718.20
5.6.140.0100.08018.19
5.6.130.0070.07718.17
5.6.120.0100.08320.99
5.6.110.0070.04021.02
5.6.100.0030.08720.96
5.6.90.0130.07021.12
5.6.80.0170.07720.38
5.5.300.0070.05318.00
5.5.290.0070.08018.01
5.5.280.0270.06720.89
5.5.270.0100.08020.86
5.5.260.0170.05320.92
5.5.250.0030.08020.49
5.5.240.0270.06320.36

preferences:
143.35 ms | 1398 KiB | 7 Q