3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_agent = 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20060601 Firefox/2.0.0.1 (Ubuntu-edgy)'; var_dump( strpos( $user_agent, 'Edg' ) ); var_dump( strpos( $user_agent, 'edg' ) );

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)
8.3.60.0040.01518.18
8.3.50.0140.00019.94
8.3.40.0140.00318.69
8.3.30.0090.00618.90
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0030.00626.16
8.2.180.0070.00725.92
8.2.170.0160.00318.79
8.2.160.0040.01122.96
8.2.150.0000.00725.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00026.16
8.2.110.0060.00320.41
8.2.100.0050.00517.59
8.2.90.0040.00420.59
8.2.80.0070.00318.61
8.2.70.0040.00417.50
8.2.60.0040.00417.93
8.2.50.0030.00618.07
8.2.40.0070.00019.52
8.2.30.0030.00617.86
8.2.20.0040.00420.41
8.2.10.0060.00317.58
8.2.00.0030.00619.09
8.1.280.0040.01125.92
8.1.270.0080.00024.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00322.07
8.1.230.0000.01020.99
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0040.00417.35
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0060.00318.59
8.1.160.0000.00718.73
8.1.150.0030.00618.56
8.1.140.0060.00317.27
8.1.130.0030.00318.75
8.1.120.0000.00817.28
8.1.110.0040.00417.26
8.1.100.0040.00417.34
8.1.90.0040.00417.37
8.1.80.0040.00317.36
8.1.70.0040.00417.36
8.1.60.0040.00417.48
8.1.50.0040.00417.41
8.1.40.0030.00517.35
8.1.30.0160.00617.42
8.1.20.0200.00417.43
8.1.10.0180.00517.43
8.1.00.0120.01117.19
8.0.300.0000.00718.77
8.0.290.0060.00316.58
8.0.280.0070.00018.25
8.0.270.0050.00216.74
8.0.260.0060.00018.38
8.0.250.0040.00416.78
8.0.240.0030.00316.87
8.0.230.0070.00016.93
8.0.220.0070.00016.87
8.0.210.0000.00816.80
8.0.200.0070.00016.91
8.0.190.0040.00416.93
8.0.180.0000.00716.87
8.0.170.0040.00416.78
8.0.160.0000.00716.85
8.0.150.0170.00316.65
8.0.140.0190.00016.70
8.0.130.0180.00016.75
8.0.120.0140.00516.75
8.0.110.0160.00316.71
8.0.100.0160.00316.59
8.0.90.0120.00616.66
8.0.80.0130.00516.78
8.0.70.0140.00516.75
8.0.60.0150.00416.64
8.0.50.0160.00416.74
8.0.30.0190.00216.79
8.0.20.0220.00016.79
8.0.10.0150.00516.95
7.4.330.0000.00615.55
7.4.320.0040.00416.52
7.4.300.0000.00616.46
7.4.290.0000.00816.32
7.4.280.0160.00716.48
7.4.270.0110.01116.53
7.4.260.0190.00316.48
7.4.250.0110.00716.32
7.4.240.0100.00616.43
7.4.230.0160.00416.46
7.4.220.0200.00016.36
7.4.210.0140.00516.42
7.4.200.0110.00816.36
7.4.190.0130.00416.54
7.4.180.0180.00016.56
7.4.160.0080.01216.45
7.4.150.0190.00016.41
7.4.140.0200.00016.41
7.4.130.0170.00016.15
7.4.120.0080.00516.26
7.4.110.0090.00616.14
7.4.100.0070.01016.46
7.4.90.0100.00516.41
7.4.80.0120.00416.28
7.4.70.0100.00816.25
7.4.60.0190.00016.20
7.4.50.0140.00516.31
7.4.40.0160.00316.25
7.4.30.0140.00016.35
7.4.20.0110.00316.32
7.4.10.0160.00316.26
7.4.00.0160.00016.28

preferences:
52 ms | 401 KiB | 5 Q