3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array( 'c' => 100, 'a' => 300, 'b' => 50, 'd' => 250); @arsort( &$x ) var_dump( $x );

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.04320.23
7.0.00.0130.07720.09
5.6.160.0030.04320.71
5.6.150.0100.04018.19
5.6.140.0100.08018.11
5.6.130.0130.03718.07
5.6.120.0130.04321.14
5.6.110.0100.08020.98
5.6.100.0000.04321.00
5.6.90.0070.05321.10
5.6.80.0030.08320.35
5.5.300.0100.03717.98
5.5.290.0100.08318.04
5.5.280.0070.04720.84
5.5.270.0200.03720.86
5.5.260.0100.08020.86
5.5.250.0030.08720.65
5.5.240.0200.07020.25
5.4.450.0620.06319.56
5.4.440.0620.05719.34
5.4.430.0420.05219.45
5.4.420.0630.02019.50
5.4.410.0270.06019.15
5.4.400.0300.06018.82
5.4.390.0370.06218.91
5.4.380.0270.05318.93
5.4.370.0420.04318.91
5.4.360.0370.05018.97
5.4.350.0300.04715.45
5.4.340.0230.04615.54
5.4.320.0410.04015.69
5.4.310.0250.04915.80
5.4.300.0310.04315.79
5.4.290.0300.04815.79
5.4.280.0230.04815.73
5.4.270.0290.04215.72
5.4.260.0260.04915.73
5.4.250.0310.04115.73
5.4.240.0330.04615.75
5.4.230.0320.04315.74
5.4.220.0280.04515.72
5.4.210.0360.04815.61
5.4.200.0380.04115.61
5.4.190.0290.05415.62
5.4.180.0280.05015.79
5.4.170.0260.04314.59
5.4.160.0220.04914.57
5.4.150.0260.06514.62
5.4.140.0280.04613.51
5.4.130.0250.04113.46
5.4.120.0330.04513.48
5.4.110.0240.04313.46
5.4.100.0260.04613.49
5.4.90.0210.04513.36
5.4.80.0210.04313.36
5.4.70.0330.05413.45
5.4.60.0240.04313.43
5.4.50.0100.04313.45
5.4.40.0100.04213.44
5.4.30.0150.04613.45
5.4.20.0150.04213.48
5.4.10.0260.03913.41
5.4.00.0090.04312.91
5.3.290.0300.04713.70
5.3.280.0310.04413.70
5.3.270.0250.04913.32
5.3.260.0260.04813.31
5.3.250.0230.04413.33
5.3.240.0240.04813.31
5.3.230.0300.06513.32
5.3.220.0240.04213.27
5.3.210.0240.05213.32
5.3.200.0230.04713.29
5.3.190.0210.05113.31
5.3.180.0230.04513.28
5.3.170.0270.04413.27
5.3.160.0250.04313.28
5.3.150.0220.04313.31
5.3.140.0120.04913.25
5.3.130.0180.04413.26
5.3.120.0100.05413.24
5.3.110.0310.04913.26
5.3.100.0120.04512.73
5.3.90.0150.04912.71
5.3.80.0120.04612.69
5.3.70.0250.05412.70
5.3.60.0280.04512.65
5.3.50.0160.04412.63
5.3.40.0210.05812.62
5.3.30.0100.04712.54
5.3.20.0230.04312.36
5.3.10.0150.04112.26
5.3.00.0160.04812.31

preferences:
151.94 ms | 1394 KiB | 7 Q