3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArray = array( '@@warning_count' => 2, array( 'level' => 'Warning', 'code' => 1266, 'message' => "Incorrect integer value: ‘Johny’ for column ‘billing_cycle’ at row 1"), array( 'level' => 'Warning', 'code' => 1266, 'message' => "Incorrect integer value: ‘Johny’ for column ‘billing_cycle’ at row 1"), ); print "Warning Count: {$myArray['@@warning_count']}\n"

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)
5.4.210.0080.04212.36
5.4.200.0120.04712.34
5.4.190.0230.07212.34
5.4.180.0130.04712.34
5.4.170.0130.04712.35
5.4.160.0140.04112.34
5.4.150.0160.05712.34
5.4.140.0120.04612.03
5.4.130.0120.03912.01
5.4.120.0100.04111.98
5.4.110.0130.04311.97
5.4.100.0150.04711.97
5.4.90.0120.04511.97
5.4.80.0140.04711.97
5.4.70.0160.04511.97
5.4.60.0120.04411.97
5.4.50.0130.05211.96
5.4.40.0110.03811.96
5.4.30.0140.03811.96
5.4.20.0120.03811.95
5.4.10.0110.05411.95
5.4.00.0130.04511.44
5.3.270.0160.04912.72
5.3.260.0140.04912.72
5.3.250.0230.07412.72
5.3.240.0110.06012.72
5.3.230.0140.04912.71
5.3.220.0150.04412.68
5.3.210.0120.04612.68
5.3.200.0120.04112.68
5.3.190.0120.04212.68
5.3.180.0250.05812.67
5.3.170.0120.04012.67
5.3.160.0130.03912.67
5.3.150.0100.04912.67
5.3.140.0110.04212.66
5.3.130.0150.05412.65
5.3.120.0120.04312.66
5.3.110.0140.04212.66
5.3.100.0120.04512.12
5.3.90.0110.04612.08
5.3.80.0130.04512.08
5.3.70.0120.04212.08
5.3.60.0190.03612.07
5.3.50.0090.04312.00
5.3.40.0110.04312.00
5.3.30.0130.03611.95
5.3.20.0120.03811.72
5.3.10.0090.03811.68
5.3.00.0130.03611.67

preferences:
135.86 ms | 1394 KiB | 7 Q